Hi Cornelius,
use only ${basedir} as dir and includes "**/src/". Maybe you have to play with
nested mappers ...
damn - no mapper support in <jar> ...
Ok, workaround - iterating with ac:foreach .
Jan
>-----Ursprüngliche Nachricht-----
>Von: arcus(x) - Cornelius Buschka [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 28. Oktober 2005 11:45
>An: [email protected]
>Betreff: Jar or copy files from multiple unknown directories
>
>Hi,
>
>our project contains many source folders that can be found via
>pattern ${basedir}/**/src.
>
>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>
>
>did not work, because the fileset could not find the directory
>"${basedir}/**/src". Ok, dir-attribute is a directory, no dirset.
>
>Any suggestions to solve this problem? Sorry, I dont see it :/
>
>Regards
>Cornelius
>
>--
>______________________________________________________
>
> arcus(x) GmbH
>
> Am Felde 132 fon: +49 (0)40.333 102 92
> D-20535 Hamburg fax: +49 (0)40.333 102 93
>
> http://www.arcusx.com mailto:[EMAIL PROTECTED]
>______________________________________________________
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For
>additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]