diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-22 14:20:47 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-22 14:20:47 +0000 |
commit | 0ddfdb4a494c42094eda2f70d60c67dae3969918 (patch) | |
tree | ddb0439188545764928aa1ee08f9d29c750e98e6 | |
parent | f8741037fa66ef64625c616ef41ec799ce95b72c (diff) |
Fix up ant scrip to run the async sample and make the target names more like the contribution names
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026338 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/build.xml | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/build.xml b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/build.xml index 7a80adde5e..8265cdf202 100644 --- a/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/build.xml +++ b/sca-java-2.x/trunk/samples/running-tuscany/embedded-jse/build.xml @@ -53,14 +53,15 @@ <target name="run" depends="compile">
<echo>Please use 'ant run-name-of-sample-contribution-to-run' for example, try one of</echo>
- <echo> 'ant binding-sca-calculator' </echo>
- <echo> 'ant binding-ws-calculator' </echo>
- <echo> 'ant binding-rmi-calculator' </echo>
- <echo> 'ant implementation-java-calculator' </echo>
+ <echo> 'ant sample-binding-sca-calculator-contribution' </echo>
+ <echo> 'ant sample-binding-ws-calculator-contribution' </echo>
+ <echo> 'ant sample-binding-rmi-calculator-contribution' </echo>
+ <echo> 'ant sample-implementation-java-calculator-contribution' </echo>
+ <echo> 'ant sample-implementation-java-calculator-async-contribution' </echo>
</target>
<!-- Run using the "all" manifest jar -->
- <target name="binding-sca-calculator" depends="compile">
+ <target name="sample-binding-sca-calculator-contribution" depends="compile">
<java classname="launcher.JSELauncherBindingSCACalculator"
fork="true"
failonerror="true">
@@ -74,7 +75,7 @@ </target>
<!-- Run using the base + extension ant paths -->
- <target name="binding-ws-calculator" depends="compile">
+ <target name="sample-binding-ws-calculator-contribution" depends="compile">
<java classname="launcher.JSELauncherBindingWSCalculator"
fork="true"
failonerror="true">
@@ -88,7 +89,7 @@ </target>
<!-- Run using the base + extension manifest -->
- <target name="binding-rmi-calculator" depends="compile">
+ <target name="sample-binding-rmi-calculator-contribution" depends="compile">
<java classname="launcher.JSELauncherBindingRMICalculator"
fork="true"
failonerror="true">
@@ -105,7 +106,7 @@ </target>
<!-- Run using the base + extension aggregations -->
- <target name="implementation-java-calculator" depends="compile">
+ <target name="sample-implementation-java-calculator-contribution" depends="compile">
<java classname="launcher.JSELauncherImplementationJavaCalculator"
fork="true"
failonerror="true">
@@ -117,5 +118,24 @@ </classpath>
</java>
</target>
+
+ <target name="sample-implementation-java-calculator-async-contribution" depends="compile">
+ <java classname="launcher.JSELauncherImplementationJavaCalculatorAsync"
+ fork="true"
+ failonerror="true">
+ <classpath>
+ <pathelement location="target/${jar.name}"/>
+ <fileset dir="${tuscany.home}/features/tuscany-base-runtime-pom">
+ <include name="tuscany-base-runtime-pom-manifest.jar" />
+ </fileset>
+ <fileset dir="${tuscany.home}/features/tuscany-binding-ws-runtime-axis2">
+ <include name="tuscany-binding-ws-runtime-axis2-manifest.jar" />
+ </fileset>
+ <fileset dir="${tuscany.home}/features/tuscany-host-jetty">
+ <include name="tuscany-host-jetty-manifest.jar" />
+ </fileset>
+ </classpath>
+ </java>
+ </target>
</project>
|