test-server/build.xml in calabash-android-0.2.14 vs test-server/build.xml in calabash-android-0.2.15
- old
+ new
@@ -88,12 +88,12 @@
<target name="-prepare.testserver" description="Makes sure the testserver matches the tested application by looking at its manifest file">
<copy todir="${staging.dir}">
<fileset dir="instrumentation-backend"/>
</copy>
- <copy todir="${staging.dir}/libs">
- <!-- There may be a better way of doing this, but it works -->
- <fileset dir="${env.ANDROID_HOME}/add-ons/addon-google_apis-google-${android.api.level}/libs"/>
+ <copy todir="${staging.dir}/libs">
+ <fileset erroronmissingdir="false" dir="${env.ANDROID_HOME}/add-ons/addon-google_apis-google_inc_-${android.api.level}/libs"/>
+ <fileset erroronmissingdir="false" dir="${env.ANDROID_HOME}/add-ons/addon-google_apis-google-${android.api.level}/libs"/>
</copy>
<copy todir="${staging.dir}/assets">
<fileset dir="${calabashjs.dir}"/>
</copy>
<replace file="${staging.dir}/src/sh/calaba/instrumentationbackend/InstrumentationBackend.java" token="#ACTIVITY_PACKAGE#" value="${tested.package_name}"/>