DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32379>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32379 Summary: Enhance token definition for replacefilterfile in replace task Product: Ant Version: 1.6.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] My property file(s) has properties like env.dir.base etc. I have various config files which are "master" files, and used to create the final config file (based on the contents of the property files). In the master file however I don't want to write >>>> <config basedir="env.dir.base"> <<<< Instead I want to be able to make it clearly visible by enclosing the strings to be replaced into delimiters. E.g. >>>> <config basedir="%env.dir.base%"> <<<< I could achieve this by writing the property files like: %env.dir.base% = /dir/val/used .... but .... this is ugly. I don't want property names to contain the delimiter characters (%). Solution: Provide an optional argument "delimiterstring" to be used with replacefilterfile. E.g. <replace file="e:\\test.txt" replacefilterfile="testSecond.properties" delimiterstring="%"/> And now don't treat each property as token, but instead use %property% as token. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]