ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: AW: Alternative to subant
Date Sat, 01 Dec 2007 03:25:01 GMT
On Nov 29, 2007 1:21 PM, Dominique Devienne <ddevienne@gmail.com> wrote:
> On Nov 29, 2007 12:40 PM, Francisco Tolmasky <tolmasky@gmail.com> wrote:
> > Is there any way to say:
> > "Use the build file in the directory if the directory contains a properties file?"
>
> I would have thought it to be possible with selectors and a mapper,
> but I don't see how do it in practice. I thought I used to do
> something like this...

Francisco, in case you missed the other thread, Matt answered your
question there. I've pasted the code here for you. --DD

>   <fileset dir="${basedir}" includes="*/build.xml">
>     <present targetdir="${basedir}">
>       <mapper type="glob" from="*/build.xml" to="*/project.properties" />
>     </present>
>   </fileset>

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


Mime
View raw message