ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Chernich" <>
Subject Re: Can Ant iterate?
Date Thu, 22 Aug 2002 22:04:13 GMT
Dominique, I'm not 100% with you, but it sounds like it could be a better
solution if you are saying I use a <java> tag to run the compiler and
<fileset> to supply multiple space separated files as its command line args
(our compiler does accept multiple input files)?

----- Original Message -----
From: "Dominique Devienne" <>
To: "'Ant Users List'" <>
Sent: Thursday, August 22, 2002 11:40 PM
Subject: RE: Can Ant iterate?

> Well, it's partly because of your SchemaCompiler, if indeed it has a
> limitation of taking only one file on the command line. Otherwise, you
> select the out-of-date files with clever use of the <selector>s inside
> <fileset> (I think), <pathconvert> that to a <property> (somebody provided
> PATCH to allow <arg filesetref="id"/>, but it's not in Ant now), and feed
> all these out-of-date files to the scheme compiler.
> I thought maybe <dependset> could give you the <fileset> of out-of-date
> files, but it seems to only remove the target files (AFAIK), which is
> useless in your case, since you're not using a 'smart' task later. --DD
> -----Original Message-----
> From: Ron Chernich []
> Sent: Wednesday, August 21, 2002 9:45 PM
> To: Ant Users List
> Subject: Re: Can Ant iterate?
> Thanks David and Conor.  <apply> with <uptodate> did the job
> perfectly--though it's a pity I had to invoke the jvm direct with
> ${java.home}/bin/java rather than just use a <java> task.
> Ron
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message