ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Lucas" <pauljlu...@mac.com>
Subject Filter on copy with directory contents
Date Wed, 20 Feb 2008 21:20:00 GMT
Given a file that contains:

	@REPLACEME@

I want to use <copy> to copy the file and replace @REPLACEME@ with  
contents like:

	<string>foo.jar</string>
	<string>bar.jar</string>
	...

where "foo" and "bar" are the names of the file(s) in a particular  
directory that match a certain pattern (in this case *.jar).

Is there a way to do that?  I've read the docs but the answer isn't  
all that obvious.  Thanks.

- Paul

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


Mime
View raw message