ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Filter vs Replace
Date Tue, 07 Aug 2001 20:08:26 GMT
I am trying to determine whether the Filter or the Replace core task better
applies to my problem. I am trying to take a single file and create four
differnt versions of the file by replacing a particular value in the original
file. The value to be replaced is determined by the name of the box to which the
file has to be deployed.

ie.,    if name of box is abc, then replace @token1@ with xyz
    if name of box is def, then replace @token1@ with 123

Could anyone tell me what is the best approach to this probelm.

Bharath Reddy,
Business Applications Programmer,
Metr1s Companies Inc.
Phone # (217)373-3310

View raw message