Hello All,
I've searched pretty hard to find a way to add files to an existing
fileset, but I haven't come up with anything that I really like. Does
anyone know of a way to perform something like the following
<property components="foo,bar,baz">
<foreach item="String" delim="," in="${component}" property="component">
<fileset id="project.buildfiles">
<include name="${path::combine(component,component+'.build')}" />
</fileset>
</foreach>
Basically, what I am trying to do is dynamically add buildfiles to my
project whenever I add a new component just by adding it to the component
string.
I may over thinking this one as it is probably just as easy to add an
include line to an existing fileset. Anyway, just wondering.
Also if you have opinions as to why this wouldn't be a good idea I would
like to hear those as well.
--
Aquil H. Abdullah
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users