Just
<unjar><fileset/></unjar>

Tested example
    <property name="lib.dir" location="${ant.home}/lib"/>
    <property name="dest.dir" value="extracted"/>

    <delete dir="${dest.dir}"/>
    <mkdir dir="${dest.dir}"/>
    <unjar dest="${dest.dir}">
        <fileset dir="${lib.dir}" includes="**/*launcher*.jar,**/*nodeps*.jar"/>
    </unjar>



Jan


> -----Ursprüngliche Nachricht-----
> Von: Clifton [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 24. Januar 2008 21:58
> An: user@ant.apache.org
> Betreff: For each jar in a fileset
> 
> 
> I need to unjar each jar in a fileset. What's the easiest 
> approach without
> getting into extra libs, scripting and what not?
> -- 
> View this message in context: 
> http://www.nabble.com/For-each-jar-in-a-fileset-tp15074819p150
> 74819.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to