diff options
Diffstat (limited to '')
3 files changed, 11 insertions, 11 deletions
diff --git a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/maven-eclipse.xml b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/maven-eclipse.xml index 4ceebd71f7..3adfca89f4 100644 --- a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/maven-eclipse.xml +++ b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/maven-eclipse.xml @@ -2,7 +2,7 @@ <target name="init"/> <target name="copy-resources" depends="init"> <copy todir="target/classes/META-INF" filtering="true"> - <fileset dir="." includes="LICENSE|NOTICE"/> + <fileset dir="." includes="LICENSE|NOTICE" excludes="**/*.java"/> </copy> </target> </project>
\ No newline at end of file diff --git a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/pom.xml b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/pom.xml index bd11cebf24..05964e23dd 100644 --- a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/pom.xml +++ b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/pom.xml @@ -22,9 +22,9 @@ <parent> <groupId>org.apache.tuscany.sca</groupId> <artifactId>scatours</artifactId> - <version>1.0-SNAPSHOT</version> + <version>2.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> - </parent><version>1.0-SNAPSHOT</version> + </parent><version>2.0-SNAPSHOT</version> <artifactId>scatours-launcher-policy</artifactId> <name>Apache Tuscany SCA Tours Policy Launcher</name> @@ -52,7 +52,7 @@ <dependency> <groupId>org.apache.tuscany.sca</groupId> - <artifactId>tuscany-binding-ws-axis2</artifactId> + <artifactId>tuscany-binding-ws-runtime-axis2</artifactId> <version>${tuscany.version}</version> <scope>runtime</scope> </dependency> diff --git a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java index b48c4e88ec..8fc3e92059 100644 --- a/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java +++ b/sca-java-2.x/trunk/tutorials/travelsample/launchers/policy/src/main/java/scatours/PolicyLauncher.java @@ -21,26 +21,26 @@ package scatours; import static scatours.launcher.LauncherUtil.locate; -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.NodeFactory; public class PolicyLauncher { public static void main(String[] args) throws Exception { - SCANode node1 = - SCANodeFactory.newInstance().createSCANode(null, + Node node1 = + NodeFactory.getInstance().createNode( locate("policy-client"), locate("payment-java-policy")); node1.start(); - SCANode node2 = SCANodeFactory.newInstance().createSCANode(null, + Node node2 = NodeFactory.getInstance().createNode( locate("creditcard-payment-jaxb-policy")); node2.start(); - Runnable client = ((SCAClient)node1).getService(Runnable.class, "TestClient/Runnable"); + Runnable client = ((Node)node1).getService(Runnable.class, "TestClient/Runnable"); client.run(); node1.stop(); |