ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Hermann" ...@web.de>
Subject Re: tar archive: varying list of subdirectories as a property?
Date Sat, 16 Jul 2005 11:45:34 GMT
On Fri, 15 Jul 2005 22:55:57 -0400 (EDT), R. Lafleche wrote:

>Relative to a specific basedir, how do I pass a list
>of subdirectories that may vary over time to the tar
>task without changing the buildfile, only the
>properties file?

>For example: subdirOne, subdirTwo subdirThree during
>the first build. subdirOne, subdirFour during another
>build. subdirTwo only at a later time. Etc.

either define a path the the dirs as a path (a;b;c) and use 
antcontrib:pathtofileset.

or simply set a property to a/** b/** c/** and pass that into a <fileset 
includes="...">.

Ciao, J├╝rgen



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


Mime
View raw message