You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/07 16:28:30 UTC
DO NOT REPLY [Bug 19734] New: -
to support wildcards
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19734>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19734
<replace> to support wildcards
Summary: <replace> to support wildcards
Product: Ant
Version: 1.5.3
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: mhilpert@gmx.de
My problem is to replace the build number in a Java source file. So I don't
know the exact string to replace. I would like to have something like
<replace file="MyClass.java" token="BUILD_NUMBER = *;" value="BUILD_NUMBER =
42;"/>
which would replace the old build number string(s) no matter what value it has.