diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-14 14:52:13 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-14 14:52:13 +0000 |
commit | 93ee28a97432d9448fa793cf47ff71f33186ae3b (patch) | |
tree | 58b7493d84417d30423cf938eedb16dc70df8059 /sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml | |
parent | 7ea174b274f7e92d0ea46dfa8a689d96f0583b42 (diff) |
Launch binding-sca and binding-ws based contributions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944300 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml b/sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml index 1b67df3b7e..74f613109f 100644 --- a/sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml +++ b/sca-java-2.x/trunk/samples/launcher-embedded-jse/build.xml @@ -54,7 +54,7 @@ <echo>Please use 'ant run-name-of-sample-contribution-to-run' </echo>
</target>
- <target name="run-contribution-binding-ws-calculator" depends="compile">
+ <target name="run-contribution-binding-sca-calculator" depends="compile">
<java classname="${main.class}"
fork="true"
failonerror="true">
@@ -64,8 +64,22 @@ <include name="tuscany-sca-manifest.jar" />
</fileset>
</classpath>
- <arg value="contribution-binding-ws-calculator"/>
+ <arg value="contribution-binding-sca-calculator"/>
</java>
</target>
+
+ <target name="run-contribution-binding-ws-calculator" depends="compile">
+ <java classname="${main.class}"
+ fork="true"
+ failonerror="true">
+ <classpath>
+ <pathelement location="target/${jar.name}"/>
+ <fileset dir="${tuscany.home}/features">
+ <include name="tuscany-sca-manifest.jar" />
+ </fileset>
+ </classpath>
+ <arg value="contribution-binding-ws-calculator"/>
+ </java>
+ </target>
</project>
|