fixed dependency in build.xml

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14073 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2008-02-20 09:19:02 +00:00
parent 0747309729
commit 490ac3e6b0
1 changed files with 2 additions and 3 deletions

View File

@ -972,6 +972,7 @@ ANDROID
<target name="android.build" depends="android.libraries"
description="Convert this project's .class files into .dex files">
<property name="dx.jar" value="${android.home}/tools/lib/dx.jar"/>
<java jar="${dx.jar}" fork="true" failonerror="true">
<jvmarg value="-Djava.ext.dirs=${android.home}${file.separator}tools${file.separator}lib"/>
<jvmarg value="-Xmx384M"/>
@ -1001,9 +1002,7 @@ ANDROID
</and>
</condition>
<if><isset property="android.supported"/><then>
<antcall target="android.build">
<param name="dx.jar" value="${android.home}/tools/lib/dx.jar"/>
</antcall>
<antcall target="android.build"/>
</then><else>
<echo message="The Android library build requires Sun Java 1.5 or newer"/>
</else></if>