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=36585>. 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=36585 Summary: Patching of a file removes certain other parameters automatically Product: Ant Version: 1.5.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] I am using the ant task from Install Anywhere 6.1 Application. I think it is using ant 1.5.1 version. I am having a build.xml which is having some placeholder values. The InstallAnywhere application tries to patch the build script with the actual values (by using the Execute ANT task action available withing InstallAnywhere). The values gets patched correctly but very strangely, there is a certain sequence of characters which in turn totally removes parameters from the file. I am having the line jdbc:oracle:thin:@${oracle_host):${oracle_port}:${oracle_instance} The properties oracle_host,oracle_port, oracle_instance have been defined and their values are patched correctly. But the line above gets somewhat modified to : jdbc:oracle:thin:@${oracle_port}:${oracle_instance} Thus the string "${oracle_host}:" gets totally lost. Infact whatever I place after the ":@" gets removed if it begins with "{" character. I can consistently reproduce this with the ant version packaged with InstallAnywhere. -- 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]