Changed build.xml to copy dx.jar from ANDROID_HOME.
This commit is contained in:
parent
06741a014e
commit
3db294742e
|
@ -35,6 +35,8 @@
|
|||
<property name="bundleJavacTarget" value="${javacTarget}"/>
|
||||
<property name="bundleBootClasspath" value="${bootclasspath}"/>
|
||||
|
||||
<property environment="env"/>
|
||||
|
||||
<target name="sampleLexPresent" depends="init">
|
||||
<available file="${plugin.destination}/data/sample.lex" property="sample.lex.present"/>
|
||||
</target>
|
||||
|
@ -59,7 +61,15 @@
|
|||
<available file="${plugin.destination}/data/android.jar" property="android.jar.present"/>
|
||||
</target>
|
||||
|
||||
<target name="getJars" depends="fetchSampleLex,fetchSampleCup,fetchAndroidJar" />
|
||||
<target name="copyDxJar" depends="dxJarPresent" unless="dx.jar.present">
|
||||
<copy file="${env.ANDROID_HOME}/build-tools/20.0.0/lib/dx.jar" tofile="${basedir}/lib/dx.jar" />
|
||||
</target>
|
||||
|
||||
<target name="dxJarPresent" depends="init">
|
||||
<available file="${basedir}/lib/dx.jar" property="dx.jar.present"/>
|
||||
</target>
|
||||
|
||||
<target name="getJars" depends="fetchSampleLex,fetchSampleCup,fetchAndroidJar,copyDxJar" />
|
||||
|
||||
<target name="init" depends="properties">
|
||||
<condition property="pluginTemp" value="${buildTempFolder}/plugins">
|
||||
|
|
Loading…
Reference in New Issue