ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: multiple args to java task
Date Mon, 20 Oct 2003 06:24:34 GMT
Use AntContribs <foreach> (or the new <for>) task to iterate over the list?

Jan

> -----Original Message-----
> From: Amit Kulkarni [mailto:proudlyindian@yahoo.com]
> Sent: Sunday, October 19, 2003 3:58 PM
> To: Ant Users List
> Subject: RE: multiple args to java task
> 
> 
> hi Dominique,
> thanks for the try, but ill xplain my situation better.
> I have a dir which has hundreds of jars of which some i want 
> to compile and leave the others as
> is.
> then i use a java program which takes one jar at a time
> so my script is 
> 
> <java classname="jode.decompiler.Main">
> <arg value="--dest"/>
> <arg value="test-classes"/>
> <arg value="abc.jar"/>   ######### i want to give multiple 
> jars here but not a list of jars like
> made in path convert
> </java>
> 
> thanks
> --- Dominique Devienne <DDevienne@lgc.com> wrote:
> > > From: Amit Kulkarni [mailto:proudlyindian@yahoo.com]
> > > 
> > > Hi,
> > > im trying to decompile classes in multiple jars using 
> jode decompiler
> > > which itself uses java to
> > > decompile files.
> > > it takes jar as an argument and i want to give multiple 
> jars as the
> > > argument
> > > 
> > > my task is
> > > 
> > > <java classname="jode.decompiler.Main">
> > > <arg value="--dest"/>
> > > <arg value="test-classes"/>
> > > <arg value="abc.jar"/>   ######### i want to give 
> multiple jars here
> > > </java>
> > > 
> > > can anyone provide a clue to this, filesets dont work here
> > 
> > I'll try ;-)
> > 
> > Define your <fileset> outside, then <pathconvert> it to a 
> string stuffed in
> > a property, then use <arg line="${all my jars}" />. Or use 
> <apply>, forking
> > a Java VM manually, and parallel="true". --DD
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message