On Fri, 28 Oct 2005 11:44:50 +0200, arcus(x) - Cornelius Buschka wrote:

>I would like to jar up files from these directories into one jar. Not
>the whole contents but a selection of files from each folder only.

><jar jarfile="..." ...>
>   <fileset dir="${basedir}/**/src" includes="**" excludes="**/*.java"/>
></jar>

<fileset dir="${basedir}" includes="**/src/**" excludes="**/*.java"/>

and add a (regex) mapper that removes everything up to /src/ from the file 
names.

if that does not work, use antcontrib to loop over the src dirs.

Ciao, Jürgen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to