ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21681] - Allow apply to use all files in set
Date Wed, 14 Jan 2004 11:59:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21681>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21681

Allow apply to use all files in set





------- Additional Comments From rde@webtrak.co.uk  2004-01-14 11:59 -------
I still can't find a way to do this simply in Ant 1.6.  To recap, I'm trying to
emulate a make rule like:

TAGS: $(SRC)
    etags $(SRC)

using the apply task.  A simple use of apply with a merge mapper will list
include just those files which are more recent than the target.  I want the
apply to run with all the files, if _any_ are newer than the target.

I read the comment below and tried the pathconvert option, but this makes a list
of files with absolute names; I need the original relative names for this task.

Another exampe would be using apply to recreate an archive file if any of the
contents have been updated - again you have a single target but want to include
all the files on the command line generated by the apply.

Right now I have to use a dependset to delete the TAGS if any of the files have
been updated; this works fine but is clumsy.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message