ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: For each jar in a fileset
Date Fri, 25 Jan 2008 14:44:49 GMT
<unjar><path refid> ?

Not tested - but <unjar> should support resource sollections (and paths are rc's)


Jan 

> -----Urspr√ľngliche Nachricht-----
> Von: Clifton [mailto:clifton.craig@gmail.com] 
> Gesendet: Freitag, 25. Januar 2008 15:28
> An: user@ant.apache.org
> Betreff: Re: AW: For each jar in a fileset
> 
> 
> I'm sorry, yes that works but what I really meant to ask was 
> how can I unjar
> each entry from a path reference? I've got it working using 
> beanshell which
> is rather ugly and unportable. I need this to run on other 
> dev boxes without
> the hassle of installing the bsf jar and dependencies and the 
> bsh jar. I'm
> really having a hard time here.
> 
> Jan.Materne wrote:
> > 
> > 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:clifton.craig@gmail.com] 
> >> 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: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >> 
> >> 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/For-each-jar-in-a-fileset-tp15074819p150
> 88491.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message