ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ritz, Martin" <Martin.R...@ewe.de>
Subject counter or increasing a number
Date Wed, 21 Jan 2009 16:23:51 GMT
Hello,

I have some experience with ant but one task I couln't handle.
In my process I want to replace a string in an copied file with a string increased by 1.
So it is al little counter.

For example i want to copy file A to an folder. After the copy is done I want to replace an
token with a string "test_001".
In the next task i want to copy another file and replace the token with "test_002".
How can I establish a build with such a counter?

rgds

Martin Ritz

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