ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: The new archives task
Date Tue, 02 Mar 2010 04:58:40 GMT
On 2010-03-01, Christian Beil <christian.beil@web.de> wrote:

> But what if I want to filter the files in the dependency jars somehow,
> and not the jar files themself.
> I thought I could use <archives> and <zips>,

Likely.

> but they don't seem to be supported as sub-tasks of <jar>.

<archives> should be, as long as you are using Ant 1.8.0.  Taking your
example

> <jar jarfile="${jar.file}">
>    <fileset dir="${classes.dir}"/>
>    <fileset file="UnicodeCharacters.ini"/>
     <archives>
       <zips>
         <fileset dir="${lib.dir}">
           <include .../>
         </fileset>
       </zips>
     </archives>
>    <manifest>
>        ...
>    </manifest>
> </jar>

Should work.

Stefan

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


Mime
View raw message