summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/notification-ejb
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-02 09:24:41 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-01-02 09:24:41 +0000
commit1a782a0069143286e9e386c628cd4e58c3b51e46 (patch)
tree57393296922a6f2b2b2d5a8476955e6e355b8152 /sandbox/travelsample/launchers/notification-ejb
parentcb17099e7fb5f31435e57e1ee2c60f85b06e0868 (diff)
Add/fix ant scripts for contents of travel sample services and launchers directories (TUSCANY-3398)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895152 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/notification-ejb')
-rw-r--r--sandbox/travelsample/launchers/notification-ejb/build.xml30
1 files changed, 12 insertions, 18 deletions
diff --git a/sandbox/travelsample/launchers/notification-ejb/build.xml b/sandbox/travelsample/launchers/notification-ejb/build.xml
index 27d9ab92cd..cc7e8466d8 100644
--- a/sandbox/travelsample/launchers/notification-ejb/build.xml
+++ b/sandbox/travelsample/launchers/notification-ejb/build.xml
@@ -18,31 +18,25 @@
-->
<project name="scatours-launcher-notification-ejb" default="compile">
- <property environment="env"/>
+ <import file="../../antdefs.xml"/>
+ <path id="compile-path">
+ <pathelement path="../common/target/scatours-launcher-common.jar"/>
+ </path>
+ <path id="package-path" refid="compile-path"/>
- <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>
+ <!-- Before invoking the "run" target, the EJB server for the SMS Gateway EJB
+ needs to be started and running in a different process. -->
+ <target name="run-smsgateway">
+ <ant dir="../../services/smsgateway-ejb" target="run"/>
</target>
<target name="run">
<java classname="scatours.NotificationEJBLauncher" 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"/>
+ <fileset dir="${env.OPENEJB_HOME}/lib"/>
</classpath>
</java>
</target>
-
- <target name="clean">
- <delete includeemptydirs="true">
- <fileset dir="target"/>
- </delete>
- </target>
-
</project>