Browse Source

TOOLS: Update to use refactored BuildMetadataProtoFromXml tool.

Review URL: https://codereview.appspot.com/6353060
pull/567/head
Fredrik Roubert 14 years ago
committed by Mihaela Rosca
parent
commit
ea39cbb971
2 changed files with 12 additions and 10 deletions
  1. +12
    -10
      java/build.xml
  2. BIN
      tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar

+ 12
- 10
java/build.xml View File

@ -32,11 +32,12 @@
<arg value="-jar" />
<arg value="${build.tools.jar}"/>
<arg value="BuildMetadataProtoFromXml"/>
<arg value="${resources.dir}/PhoneNumberMetaData.xml"/>
<arg value="libphonenumber/src"/>
<arg value="false"/> <!-- Not for testing. -->
<arg value="false"/> <!-- Not for alternate formats. -->
<arg value="false"/> <!-- No lite metadata. -->
<arg value="--input-file=${resources.dir}/PhoneNumberMetaData.xml"/>
<arg value="--output-dir=${libphonenumber.src.dir}/com/google/i18n/phonenumbers"/>
<arg value="--data-prefix=data/PhoneNumberMetadataProto"/>
<arg value="--mapping-class=CountryCodeToRegionCodeMap"/>
<arg value="--copyright=2010"/>
<arg value="--lite-build=false"/>
</exec>
</target>
@ -45,11 +46,12 @@
<arg value="-jar" />
<arg value="${build.tools.jar}"/>
<arg value="BuildMetadataProtoFromXml"/>
<arg value="${resources.dir}/PhoneNumberMetaDataForTesting.xml"/>
<arg value="libphonenumber/test"/>
<arg value="true"/> <!-- For testing. -->
<arg value="false"/> <!-- Not for alternate formats. -->
<arg value="false"/> <!-- No lite metadata. -->
<arg value="--input-file=${resources.dir}/PhoneNumberMetaDataForTesting.xml"/>
<arg value="--output-dir=${libphonenumber.test.dir}/com/google/i18n/phonenumbers"/>
<arg value="--data-prefix=data/PhoneNumberMetadataProtoForTesting"/>
<arg value="--mapping-class=CountryCodeToRegionCodeMapForTesting"/>
<arg value="--copyright=2010"/>
<arg value="--lite-build=false"/>
</exec>
</target>


BIN
tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar View File


Loading…
Cancel
Save