ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject Re: Fileset issue (Ant 1.6, 1.7)
Date Mon, 29 Jan 2007 20:11:55 GMT
I am surprised it ever worked. Please use <files include="..."/> instead.

- Alexey.

support@unobooks.com wrote:
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message