ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Dantas Rocha" <andre.dantas.ro...@uol.com.br>
Subject Overriding filesets
Date Mon, 29 Jan 2007 13:00:38 GMT
Hello,

Suppose I have this fileset:

<fileset dir="${lib.dir}" id="war.lib.jars">
   <include name="*.jar"/>
</fileset>

And I'd like to override it, including one more file (misc_${env}.jar):

<fileset dir="${lib.dir}" id="war.lib.jars">
   <!- I have to repeat all jars! -->
   <include name="*.jar"/>
   <include name="misc/misc_${env}.jar"/>
</fileset>

Is that a way to use the old definition and include only the new jar? somethig like it:

<fileset dir="${lib.dir}" id="war.lib.jars">
   <fileset refid="MY_BUILD.war.lib.jars">
   <include name="misc/misc_${env}.jar"/>
</fileset>

Thanks,

Andre


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


Mime
View raw message