summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml16
1 files changed, 3 insertions, 13 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
index 3ec8d6f8a2..006410c3aa 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
@@ -18,7 +18,7 @@
-->
<project name="scatours-distribution-services">
- <property environment="env"/>
+ <import file="../util/build-defs.xml"/>
<target name="run-smsgateway-corba">
<java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap" fork="true" failonerror="true">
@@ -31,17 +31,7 @@
<classpath>
<pathelement location="scatours-service-smsgateway-ejb.jar"/>
<!-- The following is used to bring in additional dependencies of the OpenEJB runtime. -->
- <fileset dir="${env.TUSCANY_HOME}/lib">
- <!-- exclude some jars to prevent them being loaded by OpenEJB -->
- <exclude name="tuscany-sca-manifest.jar"/>
- <exclude name="ode-*.jar"/>
- <exclude name="jaxb-xjc-*.jar"/>
- <exclude name="jython-*.jar"/>
- <exclude name="activemq-all-*.jar"/>
- <exclude name="js-*.jar"/>
- <exclude name="org.apache.felix.main-*.jar"/>
- <exclude name="saxon-*.jar"/>
- </fileset>
+ <path refid="scatours.tuscany-openejb"/>
</classpath>
</java>
</target>
@@ -57,7 +47,7 @@
<classpath>
<pathelement location="scatours-service-smsgateway-jms.jar"/>
<!-- The following is used to bring in the ActiveMQ runtime. -->
- <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
</classpath>
</java>
</target>