https://bz.apache.org/bugzilla/show_bug.cgi?id=61442

            Bug ID: 61442
           Summary: echoproperties ant 1.6.1 vs ant 1.10.1
           Product: Ant
           Version: 1.10.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 35248
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35248&action=edit
was unable to attach to files so both output from 1.6.1 and 1.10.1 are in this
files

we are migrating our ant version from 1.6.1 to 1.10.1 which was due since ages.

when we use ant 1.6.2 the following code generates file as shown in
echopropeties.txt ( in attachments) , and when we use ant 1.10.1  generates the
file as echopropeties.txt(in attachments).

The issue we are having is that in 1.10.1 it is writing the properties with
empty string into the .txt file(refer echopropeties_1_10_1.txt ), is there way
to omit these values in the destfile?

for example 
in .xml file 
     <ExcludedFeatureTypeList>
                               <ExcludedFeatureType></ExcludedFeatureType>
                               <ExcludedFeatureType></ExcludedFeatureType>
                               <ExcludedFeatureType></ExcludedFeatureType>
                               <ExcludedFeatureType></ExcludedFeatureType>
                                <ExcludedFeatureType></ExcludedFeatureType>
      </ExcludedFeatureTypeList>

in ant 1.6.2 , there was no entry in .txt file but in 1.10.1

ConversionSpec.ExcludedFeatureTypeList.ExcludedFeatureType=,,,,
ConversionSpec.Midpoint.SGMidpoint.MidpointInputFile=


<echoproperties destfile="echoproperties.txt" failonerror="false">
  <propertyset>
      <propertyref prefix="ProductSpec."/>
      <propertyref prefix="ConversionSpec."/>
      <propertyref prefix="ExtendedListingsSpec."/>
      <propertyref prefix="Has."/>
      <propertyref name="DATA_RELDATE"/>
      <propertyref name="VOICE_RELDATE"/>
      <propertyref name="UK_RELDATE"/>
      <propertyref name="CAN_RELDATE"/>
          <propertyref name="SGP_RELDATE"/>
          <propertyref name="BRA_RELDATE"/>
      <propertyref name="OracleServerHostName"/>
      <propertyref name="OracleDBInstance"/>
      <propertyref name="oracleNetServiceName"/>
      <propertyref name="rdfUserName"/>
      <propertyref name="rdfPassword"/>
      <propertyref name="xmobUserName"/>
      <propertyref name="xmobPassword"/>
      <propertyref name="xmobSID"/>
      <propertyref name="xmobUserNameSec"/>
      <propertyref name="xmobPasswordSec"/>
      <propertyref name="IS_CMOB"/>
      <propertyref name="ExcludedCIFeature"/>
      <propertyref name="ExcludedCIValue"/>
      <propertyref name="PublishDiscoverCities"/>
      <propertyref name="PublishXtdl"/>
      <propertyref name="Publish4WD"/>
      <propertyref name="PublishCityModels"/>
      <propertyref name="Publish3DJunctions"/>
      <propertyref name="PublishPriority"/>
          <propertyref name="AdminCountryInclude"/>       
          <propertyref name="AdminCountryExclude"/>               
    </propertyset>
</echoproperties>

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

Reply via email to