BugRat Report # 129

Project: Ant Release: 1.1
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: medium Severity: non-critical
Confidence: public

Submitter: Paul Sorenson ( paul@metrak.com )
Date Submitted: Sep 16 2000, 04:10:12 CDT
Responsible: Z_Ant Alias ( ant-bugs@cortexity.com )

filter tokens not replaced in all cases
Environment: (jvm, os, osrel, platform)
1.3, Linux, Win2k, 6.2, intel

Additional Environment Description:

Report Description:
A filter token is not recognized if there is an '@' earlier in the line (in fact it can probably be any odd number of @'s). In particular <%@ include file=@TOKEN@ %> isn't replaced. I believe line Project.java:686 explains the current behaviour. 686: i = index + TOKEN_START.length() + token.length() + TOKEN_END.length(); I don't know if this is the place to post a patch but I have pasted one in the workaround.


View this report online...