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 2005/09/09 23:07:34 UTC
DO NOT REPLY [Bug 36585] New: -
Patching of a file removes certain other parameters automatically
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: coolharry1979@yahoo.co.in
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org