From 0471edf1481e0591c9b7effdeb4d63305bd1c82a Mon Sep 17 00:00:00 2001 From: Lara Scheidegger Date: Wed, 7 Sep 2016 17:03:28 +0200 Subject: [PATCH] Modified javascript build instructions and build to use the maven build for closure compiler: newer versions of the compiler have stopped ant build support. --- javascript/README.md | 2 +- javascript/build.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/README.md b/javascript/README.md index 2dc180676..933d33aac 100644 --- a/javascript/README.md +++ b/javascript/README.md @@ -33,7 +33,7 @@ If you don't checkout the dependencies next to libphonenumber: How to compile: =============== 1. Build Closure's compiler.jar: - `ant -f ~/src/closure-compiler/build.xml` + `mvn -DskipTests` 2. Compile the demo.js and all its dependencies to one file: `demo-compiled.js`: `ant -f javascript/build.xml compile-demo` diff --git a/javascript/build.xml b/javascript/build.xml index ed87289af..30d4ca33d 100644 --- a/javascript/build.xml +++ b/javascript/build.xml @@ -4,7 +4,7 @@ + value="${closure-compiler.dir}/target/closure-compiler-1.0-SNAPSHOT.jar" />