"replacetoken" is a subtag of "replace" ant task. The tag replacetoken exists in ant 1.5.3... I've tested with this ant version in my build.xml and works: <target name="teste4"> <replace file="teste.txt"> <replacetoken>123</replacetoken> <replacevalue>12345</replacevalue> </replace> </target> but with maven 1.0-rc2 (maven.xml), with the same code: <goal name="teste4"> <replace file="teste.txt"> <replacetoken>123</replacetoken> <replacevalue>12345</replacevalue> </replace> </goal> ...does not work!!!
Could you test that, please? It would take 5 min or less... :-) -Cassio Monday, May 3, 2004, 8:13:28 PM, you wrote: BP> What version of Ant has this tag? We only use 1.5.3-1. BP> - Brett >> -----Original Message----- >> From: Cassio [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, 4 May 2004 3:50 AM >> To: [EMAIL PROTECTED] >> Subject: POSSIBLE BUG: Can't run a SPECIFIC ant tag inside maven >> >> >> Hi all, >> >> Maven can't run replacetoken tag... Maven, Jelly or Werkz >> seams to delete the content inside replacetoken tag before >> ant is executed by maven... <replace file="teste.txt"> >> <replacetoken>123</replacetoken> >> <replacevalue>12345</replacevalue> >> </replace> >> With this example String "123" is deleted and ant (executed >> by maven) can't run because "The token attribute must not be >> an empty string." >> >> Is this a Maven problem, Jelly problem or Werkz problem? >> >> I need some guidings to continue searching the source of this >> problem... >> >> Thanks, >> Cassio M. Nosshe >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]