ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <>
Subject Re: How to map many-to-many using fileset mapper
Date Fri, 06 Jun 2003 20:56:05 GMT
I am not aware of any specific easy way to do what you want.
You can extend ant programmatically to develop what you need, or do
something in JavaScript which allows you to manipulate ant's objects in your
build file.
To see how to use JavaScript grep for javascript in the mailing lists
archives, for instance on this URL
group=gmane.comp.jakarta.ant.user or this one
----- Original Message -----
From: "Craig Dickson" <>
To: "Ant List (E-mail)" <>
Sent: Friday, June 06, 2003 8:57 PM
Subject: How to map many-to-many using fileset mapper

> I would like to use the uptodate task to compare a set of source files and
> set of target files, however there is no logical naming correlation
> the two sets, so none of the current mappers in documentation will work.
> What I would like to be able to do is effectively specify two separate
> filesets and basically say "if any of the files in the source fileset are
> newer than the _oldest_ file from the target fileset, then the target
> are not up to date".
> Currently I am using a dummy file that gets touched each time the target
> files are generated and then using a merge mapper to map the src files to
> the dummyfile.
> Is there an easier way?

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

View raw message