ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalin Rotaru" <>
Subject FileSets with different directory tree roots
Date Mon, 02 Sep 2002 17:22:40 GMT
    I would like to group together for processing files that do not have the
same directory tree roots (otherwise I would just use a FileSet). Is there a
way to do that?

    More to the point, my Jave source files are split into:

    The operations I need to do on them are:
copy (**/*.properties to ${build.home)

    For Javac I get away using the nested element <src /> and building a
<path /> from my two dirs. But for copy, the only way it works is by
creating two filesets right there. This is rather unelegant, if I add a new
source dir I will have to go and modify everywhere where I used the two
existing ones.

    I do know about dirsets, but how can I get a fileset from a dirset?!

    Any suggestions would be greatly appreciated...

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message