summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox/samples/calculator-equinox
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-25 04:55:39 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-09-25 04:55:39 +0000
commit4622b9b261e10903be1cdcff1849437bed296f7b (patch)
tree71ddc1af83e7913e42006d25f8a034f6c31e007a /branches/sca-equinox/samples/calculator-equinox
parent2aa39a40c33cb185382ebfedea10ef0e444e79fc (diff)
Fixed how contribution location gets determined.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698816 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/samples/calculator-equinox')
-rw-r--r--branches/sca-equinox/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-equinox/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java b/branches/sca-equinox/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
index 706293f262..83c0e7c9ff 100644
--- a/branches/sca-equinox/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
+++ b/branches/sca-equinox/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
@@ -40,7 +40,7 @@ public class CalculatorTestCase extends TestCase {
@Override
protected void setUp() throws Exception {
launcher = NodeLauncher.newInstance();
- String location = ContributionLocationHelper.getContributionLocation(getClass());
+ String location = ContributionLocationHelper.getContributionLocation(CalculatorClient.class);
node = launcher.createNode("Calculator.composite", new Contribution("test", location));
System.out.println("SCA Node API ClassLoader: " + node.getClass().getClassLoader());
node.start();