On 2010-03-01, Christian Beil <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to