ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
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 http://news.gmane.org/thread.php?
group=gmane.comp.jakarta.ant.user or this one
http://marc.theaimsgroup.com/?l=ant-user&r=1&w=2
Cheers
Antoine
----- Original Message -----
From: "Craig Dickson" <craig.dickson@kirus.com>
To: "Ant List (E-mail)" <user@ant.apache.org>
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
a
> set of target files, however there is no logical naming correlation
between
> 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
files
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message