summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-17 08:37:44 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-17 08:37:44 +0000
commit1038ce1a06920824211b4167db8f36b1e23d234c (patch)
treeead4a4c97e81efc8cb2f6fdd73d3185d25919cce /sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/resources/build-services.xml
parent511c1ec4987dfddb90a4f47403551549caece99d (diff)
Package OpenEJB dependencies with the travel sample to avoid use of environment variables (TUSCANY-3460)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910863 13f79535-47bb-0310-9956-ffa450edef68
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.xml13
1 files changed, 12 insertions, 1 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 7ebe7f3606..3ec8d6f8a2 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
@@ -30,7 +30,18 @@
<java classname="com.tuscanyscatours.smsgateway.SMSGatewayEJBServiceBootstrap" fork="true" failonerror="true">
<classpath>
<pathelement location="scatours-service-smsgateway-ejb.jar"/>
- <fileset dir="${env.OPENEJB_HOME}/lib"/>
+ <!-- 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>
</classpath>
</java>
</target>