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 36585] New: - Patching of a file removes certain other parameters automatically
Date Fri, 09 Sep 2005 21:07:34 GMT
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


Mime
View raw message