ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <Maarten.Co...@cs.kuleuven.ac.be>
Subject Re: Help needed with FileSet
Date Tue, 04 Jun 2002 17:26:45 GMT
Thanks :-)

This solved my problem. Is this just a hack (and a bug in Ant), or is this 
the normal behaviour of the Selectors?

Maarten

At 08:25 4/06/2002 -0700, Diane Holt wrote:
>This works for me (note that addition of ${basedir}):
><project basedir=".." default="test">
>   <target name="test">
>     <copy todir="target" filtering="no">
>       <fileset dir="${basedir}/src" includes="**/*.java">
>         <not>
>           <presentselect targetdir="${basedir}/src">
>             <mapper type="glob" from="*.java" to="*.form"/>
>           </presentselect>
>          </not>
>        </fileset>
>      </copy>
>   </target>
></project>
>
>(Note: If you're running beta2, change <presentselect> to <present>.)
>
>Diane
>
>=====
>(holtdl@yahoo.com)
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com

--
Maarten Coene
Katholieke Universiteit Leuven
Dept. Computerwetenschappen             Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee


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


Mime
View raw message