Keghani Kouzoujian
2ef19674f2
Remove unused single file test metadata
9 years ago
Keghani Kouzoujian
8b45af09bc
Remove unused single file metadata
9 years ago
David Yonge-Mallo
23ba5cea6c
delete generated prefix (carrier, geocoding) data before regenerating them (to remove obsolete files)
10 years ago
Keghani Kouzoujian
cecac40be3
Rename single file metadata to avoid conflict...
... with per-region files' prefix; see:
- https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/MultiFileMetadataSourceImpl.java
- https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/test/com/google/i18n/phonenumbers/TestMetadataTestCase.java
10 years ago
Keghani Kouzoujian
52fbf74751
Fix generation of java/CountryCodeToRegionCodeMap.java as side-effect to single file metadata generation.
10 years ago
Miruna Barbu
4805ced9e3
Implementation of SingleFileMetadata reading with files created excluded from jar.
10 years ago
Cecilia Roes
23f12e8b5f
JAVA: Added the phone number to timezones mapper, including tests, binary generation code and data
12 years ago
Cecilia Roes
1e96d10802
JAVA: Added carrier mapper including unittests, rules for building the binary data
files and carrier mapping files.
12 years ago
Cecilia Roes
148dd4edf6
JAVA: Update geocoder binary generation code.
12 years ago
Cecilia Roes
3e985b320a
JAVA: Updated the geocoder
12 years ago
David Yonge-Mallo
f50380c011
JAVA: Add support for loading short number metadata
13 years ago
Lara Scheidegger
8bfef602f1
JAVA/DATA/TOOLS: Adding some short number metadata separately, and adjusting the build tools to handle this.
13 years ago
David Yonge-Mallo
f5a3fd9072
DATA: Change "PhoneNumberMetaData" to "PhoneNumberMetadata" throughout for consistency
13 years ago
Fredrik Roubert
695666a9e1
JAVA/METADATA: Port MetadataManager and data files to open source.
Review URL: https://codereview.appspot.com/6345053
14 years ago
Fredrik Roubert
ea39cbb971
TOOLS: Update to use refactored BuildMetadataProtoFromXml tool.
Review URL: https://codereview.appspot.com/6353060
14 years ago
Lara Scheidegger
51b20a52fe
JAVA build: Changing the build file to make it more obvious when tests fail and print a message.
14 years ago
Fredrik Roubert
1991230d19
TOOLS: Update to use the new version of the BuildMetadataProtoFromXml that can also build data files for alternate formats.
Review URL: https://codereview.appspot.com/6351054
14 years ago
Fredrik Roubert
805b73ad4a
JAVA: Add a build target that runs a specified unit test
14 years ago
Nikolaos Trogkanis
800e44324e
JS: Fix duplicate keys in countryToMetadata map
14 years ago
Philippe Liard
aa58387144
JAVA: Add Maven support for offline phone number geocoder.
This CL (depending on CL 5376090) adds the Maven support for the offline phone number geocoder.
All the geocoding-related code/data is moved to the new directory java/geocoder.
Additionally a pom.xml file is added to java/ and java/geocoder/.
The pom.xml file located in java/ is the parent pom file which contains the configuration (SCM, developers, encoding...) that applies to both the libphonenumber and geocoder modules.
The libphonenumber and geocoder Maven modules inherit from this parent pom file therefore they don't need to duplicate this configuration.
I also moved build.xml and release_notes.txt back to java/.
BUG=57
Review URL: http://codereview.appspot.com/5395054
14 years ago
Philippe Liard
b5b7c3bbf8
JAVA: Move java code to java/libphonenumber.
This is required for the incoming Maven refactoring adding a separate geocoder module.
BUG=57
Review URL: http://codereview.appspot.com/5376090
14 years ago
Philippe Liard
60da46779b
Reset PhoneNumberUtil singleton instance in ShortNumberUtilTest and make JUnit tests never fork in both Ant and Maven.
PhoneNumberUtil.resetInstance() should always be used instead. This omission should not be hidden by unit tests that fork.
That also makes the external version consistent with the internal one in which unit tests don't seem to be executed by default in isolated processes.
Review URL: http://codereview.appspot.com/5341042
14 years ago
Nikolaos Trogkanis
2980262b6d
Fixed a few findbugs warnings and added a build rule to generate metadata for JavaScript.
15 years ago
Philip Liard
2dc010ae27
TOOLS: Code and jars to enable auto-generation of metadata for Java when compiling/testing.
15 years ago
Philip Liard
ee0182a25b
TOOLS: Moving java generation code under tools.
15 years ago
Philip Liard
f7b6457298
JAVA: Moving geocoding data and files to a separate package.
15 years ago
Shaopeng Jia
39c190d178
JAVA: Adding unittests for offline geocoding. Also modified build file to produce separate jars.
15 years ago
Shaopeng Jia
6a0f618558
JAVA:Adding source code for phone number offline geocoding.
15 years ago
Fabien Allanic
567980316d
JAVA: Narrow down exlusion rules in build.xml.
15 years ago
Lara Scheidegger
0c1ad33194
JAVA: findNumbers functionality, metadata updates, bug-fixes
15 years ago
Lara Scheidegger
1313e5ca43
Removing *Build* files from the jars since they are only needed to compile the code and not afterwards, to decrease jar size.
15 years ago
Shaopeng Jia
4ca3b5be65
Improve startup performance by separating generated metadata binary to one per region, and load each only when needed.
16 years ago
Shaopeng Jia
9616170a2f
Reorganize project structure to make it easy to build.
16 years ago
Shaopeng Jia
302f7bf6db
Minor documentation update.
16 years ago
Shaopeng Jia
fb57f217db
Reorganize project structure, creating resources directory.
16 years ago
Shaopeng Jia
268c2ab07b
separate unittests to test directory; modified build.xml
16 years ago
Shaopeng Jia
a7c6c36f84
Checking in first version of java libphonenumber
16 years ago