Commits

rou...@google.com@ee073f10-1060-11df-b6a4-87a95322a99c  committed 457fa63

Update to use refactored BuildMetadataProtoFromXml tool.
Review URL: https://codereview.appspot.com/6353060

  • Participants
  • Parent commits 93e9828
  • Branches default

Comments (0)

Files changed (2)

File java/build.xml

       <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>
 
       <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>
 

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

Binary file modified.