From 2a61306338a52ca4a1acc8678f7bf722d6934c38 Mon Sep 17 00:00:00 2001 From: Ben Liblit Date: Thu, 16 Mar 2017 19:35:39 -0500 Subject: [PATCH] Download "dx.jar" from Maven, as we already do for "android.jar" This should make it easier for newcomers to get WALA up and running from sources. One no longer needs to manually find "dx.jar" using instructions given at or . Those instructions were already out-of-date, anyway. Given that an official release of "dx.jar" is available in Maven, it would be nice to have Maven itself manage that dependency. Unfortunately, it seems that WALA in general does not use Maven for dependency management. As far as I can tell, the Maven configuration just calls out to Ant for doing builds, including having Ant download other needed components. If WALA ever moved to using Maven more fully, downloading "dx.jar" could easily come along with that. --- .travis.yml | 2 -- com.ibm.wala.dalvik.test/build.xml | 15 +++++---------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7f51c0b6c..274958d45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ jdk: oraclejdk8 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - - "mkdir -p $TRAVIS_BUILD_DIR/com.ibm.wala.dalvik.test/lib" - - "find /usr/local -name dx.jar -exec cp '{}' $TRAVIS_BUILD_DIR/com.ibm.wala.dalvik.test/lib/dx.jar ';'" - "git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git /tmp/DroidBench" install: - mvn clean verify -DskipTests=true -B -q diff --git a/com.ibm.wala.dalvik.test/build.xml b/com.ibm.wala.dalvik.test/build.xml index 5bbece6b9..f5e6b2e7e 100644 --- a/com.ibm.wala.dalvik.test/build.xml +++ b/com.ibm.wala.dalvik.test/build.xml @@ -62,21 +62,16 @@ - - - - - - - - - + + + + - +