stevel 2003/01/15 12:50:58
Modified: java/xmls targets.xml
Log:
using inheritAll to pass down the current env settings to the transport sample.
This sample is special in that by setting the dir param of the <ant> call, we are
moving its base dir from axis.home to axis.home/samples/transport, so things that get
recreated are relative to a different place. To make matters worse, ant always passes
stuff on the command line down, so lib.dir=lib is still there.
Alternate tactics here would be to remove the dir attr and put the complete path in
the antfile, or set inheritAll=false and pass down those properties we thing
important: axis.home being the key one.
Revision Changes Path
1.54 +2 -1 xml-axis/java/xmls/targets.xml
Index: targets.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/xmls/targets.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- targets.xml 14 Jan 2003 17:47:16 -0000 1.53
+++ targets.xml 15 Jan 2003 20:50:58 -0000 1.54
@@ -609,5 +609,6 @@
</target>
<target name="transport-layer" depends="setenv" >
- <ant inheritAll="false" dir="${axis.home}/samples/transport"
antfile="build.xml" target="compile" />
+ <ant inheritAll="true" dir="${axis.home}/samples/transport"
+ antfile="build.xml" target="compile" />
</target>