You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2006/10/31 12:50:49 UTC
svn commit: r469456 -
/webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
Author: thilina
Date: Tue Oct 31 03:50:49 2006
New Revision: 469456
URL: http://svn.apache.org/viewvc?view=rev&rev=469456
Log:
using exec to set a temporary axis2_home variable to run the generated build file
Modified:
webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
Modified: webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml?view=diff&rev=469456&r1=469455&r2=469456
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml Tue Oct 31 03:50:49 2006
@@ -28,7 +28,7 @@
<property name="lib.dir" value="../lib" />
<path id="class.path">
- <fileset dir="${env.AXIS2_HOME}/lib">
+ <fileset dir="../../lib">
<include name="**/*.jar" />
</fileset>
</path>
@@ -48,8 +48,13 @@
<classpath refid="class.path" />
</java>
<copy file="${skeleton.path}" tofile="${service.dir}/${skeleton.path}" overwrite="true" />
- <ant dir="${service.dir}" />
+ <exec executable="ant">
+ <arg value="-f"/>
+ <arg value="${service.dir}/build.xml"/>
+ <env key="AXIS2_HOME" value="../../../../"/>
+ </exec>
<copy file="${service.dir}/build/lib/MTOMSample.aar" tofile="${service.dir}/MTOMSample.aar" overwrite="true" />
+ <copy file="${service.dir}/MTOMSample.aar" tofile="../../repository/services/sample-mtom.aar" overwrite="true" />
</target>
<target name="check-parameters">
<condition property="parameters.set">
@@ -94,7 +99,7 @@
<arg value="-dest" />
<arg value="${dest}" />
<classpath>
- <fileset dir="${env.AXIS2_HOME}/lib">
+ <fileset dir="../../lib">
<include name="**/*.jar" />
</fileset>
<dirset dir="${client.classes.dir}" />
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org