diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 12:43:58 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-19 12:43:58 +0000 |
commit | 9c9e5861c5c52e71e07a9318893304a9e746579d (patch) | |
tree | ed470edc7b9c6d89b1990318501bb0481e31cd19 /sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml | |
parent | 9528be2519ac071297c2b8e7b907a2610eb779ea (diff) |
Correct some typos
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@946157 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml')
-rw-r--r-- | sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml b/sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml index 90a4d9b2c5..ebb2567a74 100644 --- a/sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml +++ b/sca-java-2.x/trunk/samples/launcher-embedded-osgi/build.xml @@ -18,7 +18,7 @@ -->
<project name="binding-ws-calculator" default="run">
<property name="tuscany.home" value="../.."/>
- <property name="jar.name" value="sample-launcher-embedded-jse.jar" />
+ <property name="jar.name" value="sample-launcher-embedded-osgi.jar" />
<property name="main.class" value="launcher.SampleJSELauncher" />
<echo>${tuscany.home}</echo>
@@ -53,8 +53,22 @@ <target name="run" depends="compile">
<echo>Please use 'ant run-name-of-sample-contribution-to-run' </echo>
</target>
+
+ <target name="run-contribution-binding-sca-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-sca-calculator"/>
+ </java>
+ </target>
- <target name="run-binding-ws-calculator" depends="compile">
+ <target name="run-contribution-binding-ws-calculator" depends="compile">
<java classname="${main.class}"
fork="true"
failonerror="true">
@@ -64,7 +78,7 @@ <include name="tuscany-sca-manifest.jar" />
</fileset>
</classpath>
- <arg value="binding-ws-calculator"/>
+ <arg value="contribution-binding-ws-calculator"/>
</java>
</target>
|