diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-29 14:00:31 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-29 14:00:31 +0000 |
commit | 4e1e15ac17295d08f1d8d784f3e708f814fd6c40 (patch) | |
tree | 9ca51ba9024caaee79b658fa3f699e2959d3c867 /sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java | |
parent | 7cc3132e50271301c7993f32b1dc871628d916f1 (diff) |
Correct test locations and refer to jars so that we can remove classes directory from the distro.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1002633 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java')
3 files changed, 4 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java index 0a77a31955..8a6bae5123 100644 --- a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java +++ b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherBindingRMICalculator.java @@ -39,8 +39,8 @@ public class JSELauncherBindingRMICalculator { public void launchBindingRMICalculator(){ - Node node1 = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/binding-rmi/contribution-calculator-service/target/classes")); - Node node2 = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/binding-rmi/contribution-calculator-reference/target/classes")); + Node node1 = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/binding-rmi/contribution-calculator-service/target/sample-contribution-binding-rmi-calculator-service.jar")); + Node node2 = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/binding-rmi/contribution-calculator-reference/target/sample-contribution-binding-rmi-calculator-reference.jar")); node1.start(); node2.start(); @@ -53,7 +53,6 @@ public class JSELauncherBindingRMICalculator { throw new SampleLauncherException(); } - node1.stop(); node2.stop(); } diff --git a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationJavaCalculator.java b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationJavaCalculator.java index 254f67aae9..91410503e3 100644 --- a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationJavaCalculator.java +++ b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationJavaCalculator.java @@ -37,7 +37,7 @@ public class JSELauncherImplementationJavaCalculator { } public void launchImplementationJavaCalculator(){ - Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/implementation-java/contribution-calculator/target/classes")); + Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/implementation-java/contribution-calculator/target/sample-contribution-implementation-java-calculator.jar")); node.start(); node.stop(); diff --git a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationScriptCalculator.java b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationScriptCalculator.java index ca652718d7..6592b97c1b 100644 --- a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationScriptCalculator.java +++ b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/src/main/java/launcher/JSELauncherImplementationScriptCalculator.java @@ -41,7 +41,7 @@ public class JSELauncherImplementationScriptCalculator { * Using the Tuscany Node API to get a local service proxy
*/
public void launchImplementationScriptCalculator(){
- Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../implementation-script/contribution-calculator/target/sample-contribution-implementation-script-calculator.jar"));
+ Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../../learning-more/implementation-script/contribution-calculator/target/sample-contribution-implementation-script-calculator.jar"));
node.start();
CalculatorService calculator = node.getService(CalculatorService.class, "CalculatorServiceComponent");
|