Hello All,
We recently migrated from Ant 1.5 to Ant 1.7 and found an issue
related to filesets.
Filesets for some reason are not handling indirect references, with
?..? in path. I tried the same case in 1.5, and it works like a charm.
It doesn?t work both in 1.6 and 1.7 versions of Ant !!
Is this a bug with filesets or am I missing anything? Has anyone else
experienced this? If so, what is the fix?
Appreciate any inputs ..
Thanks,
VS.
Here is the example:
I am trying to copy 2 jars under /vob/play to /vob/proj/mon/bin/try.
Taking /vob/lib as reference location, I am trying to copy these
elements.
<target name="try" depends="init">
<property name="project.to" value="/vob/proj/mon/bin/try" />
<property name="project.jarlist.includes"
value="../play/common_1.0.jar,../play/common_2.0.jar " />
<echo> Jars list =${project.jarlist.includes} </echo>
<copy todir="${project.to}" flatten="true" overwrite="true" verbose="true" >
<fileset dir="/vob/lib/" includes="${project.jarlist.includes}" />
</copy>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]