ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19734] New: - <replace> to support wildcards
Date Wed, 07 May 2003 14:28:30 GMT
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.

Mime
View raw message