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: java : Generation of args from FileSet
Date Mon, 04 Aug 2003 11:00:14 GMT
At the beginning of June I sent an example:
http://marc.theaimsgroup.com/?l=ant-user&m=105481716919111&w=2

Does that help?



Jan


> I've seen this topic on the mailing list from some time back yet didn't
> see a particularly nice solution.
> 
> I want to invoke a java task, passing in a set of files as the input. I
> can put these files in a FileSet, yet I cannot then get them into the
> command via the args, since it seemingly doesn't allow input of
> FileSet's as input for args.
> 
> So for example I can set up
> <fileset dir="${my.dir}" includes="**/*.jdo"/>
> 
> Yet I cannot do
> <arg>
>     <fileset dir="${my.dir} includes="**/*.jdo"/>
> </arg>
> within the java task (!)
> 
> I've looked at the 'apply' task, yet while that allows me to input
> FileSet as input :-), I cannot input the classpath to use and classname
> to execute in a convenient way :-(
> 
> 
> Is there a nice solution to this very basic issue ? 
> 
> TIA
> -- 
> Andy

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