ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54819] New: PropertyFile Task entry key/value adds backslash to properties
Date Tue, 09 Apr 2013 12:30:55 GMT

            Bug ID: 54819
           Summary: PropertyFile Task entry key/value adds backslash to
           Product: Ant
           Version: 1.8.4
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
    Classification: Unclassified

Here is the how the script looks:

    <property name="machinename" value="localhost" />
    <property name="installdir" value="C:/SoftwareAG" />
    <property name="platform.profiles" value="SPM,CTP" />
    <property name="reusable.ant.targets" location="./../reusable-ant-targets"
    <property name=""
value="${installdir}/common/EventTypeStore" />
    <property name="" value="Broker #1" />
    <property name="broker.port" value="6849" />
    <property name="" value="${machinename}" />
    <property name="use.nirvana" value="false" />
    <property name="nirvana.port" value="9000" />
    <property name="nirvana.protocol" value="nsp" />
    <property name="" value="${machinename}" />
    <property name=""
value="" />
    <property name="nirvana.sync.mode" value="false" />
    <property name="" value="wrapper.conf" />

<target name="set.platform.props">
        <for list="${platform.profiles}" param="profile" delimiter=",">
                <echo message="Starting substitution of platform config
properties for profile: @{profile}" />
                <echo message="Setting nirvana.syncSendPersistent:
${nirvana.sync.mode}" />
                <var name="platform.config.location"
value="${installdir}/profiles/@{profile}/configuration" />
                    <entry key=""
value="-Dnirvana.syncSendPersistent=${nirvana.sync.mode}" />

There is only a single property that we need to add to this wrapper.conf file.
It is:
After the file is processed by the script all properties in it, are "escaped",

Original value of the property:

New value of the property:\:MaxPermSize\=256M

This breaks products that use the file.

You are receiving this mail because:
You are the assignee for the bug.

View raw message