You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/16 23:10:12 UTC

BugRat Report #129 has been filed.

Bug report #129 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/129>

REPORT #129 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: non-critical
Confidence: public
Environment: 
   Release: 1.1
   JVM Release: 1.3
   Operating System: Linux, Win2k
   OS Release: 6.2
   Platform: intel

Synopsis: 
filter tokens not replaced in all cases

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.