Hi Eric, AFAIK, this is a bug in Ant not in Maven (I get it on projects where I use only Ant). It is because does not support an empty replace string. Add a space or something and it should work.
You should ask on the Ant mailing list and see if it got fixed. Thanks -Vincent > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: mercredi 30 mars 2005 02:21 > To: Maven Users List > Subject: Re: BUG - replacetoken ant tag > > You could try Maven's SVN HEAD which uses Ant 1.6. > > This is a bug that will likely only get fixed by someone digging in > and submitting a patch... any takers? > > Sorry I can't be of more help at this stage. > > Cheers, > Brett > > > On Tue, 29 Mar 2005 14:36:28 -0500, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've fall on this issue with the "ant:replace" task within Maven (jelly > > script) during my plug-in development: > > > > "The token attribute must not be an empty string." > > > > It seems that Maven deletes the content of the "replacetoken" before the > > execution of Ant. I've found an open bug on JIRA related to this > > problem: > > > > http://jira.codehaus.org/browse/MAVEN-1258 > > > > The bug is open since the 1.0-rc2 version of Maven and it is considered > > "Major", but was never fixed. I would like to know when this bug will be > > fixed, because it's a real blocker for me. > > > > Thanks, > > > > Eric > > > > > > --------------------------------------------------------------------- > 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]
