ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fullam, Jonathan" <Jonathan.Ful...@RIAG.com>
Subject Extending Token Filtering
Date Tue, 23 Dec 2003 17:20:24 GMT
Hello,

I need to be able to do token replacement upon doing a move or copy task but
I need more specific functionality than is provided with ANT.

For instance:

If the filters file contains the following:

	key=value1

And the file to be filtered contains:

	someProperty=@key-defaultValueHere@

Then the resultant file should contain the following:

	someProperty=value1


Now if the filters file doesn't contain

	key=value1 (or any other value for key)

Then the resultant file will contain
	
	someProperty=defaultValueHere


Does anybody have any suggestions on how I might accomplish this in ANT.
Any help is greatly appreciated.

Thanks,
Jonathan




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message