ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arcus(x) - Cornelius Buschka" <c.busc...@arcusx.com>
Subject Jar or copy files from multiple unknown directories
Date Fri, 28 Oct 2005 09:44:50 GMT
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:c.buschka@arcusx.com
______________________________________________________


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


Mime
View raw message