diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/launchers/fullapp-nodes/build.xml | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/sandbox/travelsample/launchers/fullapp-nodes/build.xml b/sandbox/travelsample/launchers/fullapp-nodes/build.xml index c34d22faad..14a483b564 100644 --- a/sandbox/travelsample/launchers/fullapp-nodes/build.xml +++ b/sandbox/travelsample/launchers/fullapp-nodes/build.xml @@ -17,37 +17,15 @@ * under the License. --> -<project name="scatours-launcher-fullapp-nodes" default="run"> - <property environment="env"/> - - <target name="compile"> - <mkdir dir="target/classes"/> - <javac destdir="target/classes" debug="on" source="1.5" target="1.5"> - <src path="src\main\java"/> - <classpath> - <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/> - </classpath> - </javac> - <jar destfile="target/scatours-launcher-fullapp-nodes.jar" basedir="target/classes"> - <manifest> - <attribute name="Main-Class" value="scatours.FullAppNodesLauncher"/> - </manifest> - </jar> - </target> +<project name="scatours-launcher-fullapp-nodes" default="compile"> + <import file="../../antdefs.xml"/> <target name="run"> <java classname="scatours.FullAppNodesLauncher" fork="true"> <classpath> - <pathelement location="target/classes"/> - <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/> + <pathelement location="target/${ant.project.name}.jar"/> + <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/> </classpath> </java> </target> - - <target name="clean"> - <delete includeemptydirs="true"> - <fileset dir="target"/> - </delete> - </target> - </project> |