updated STARR to Scala 2.6.1-RC1
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13418 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
ead3647dde
commit
0d1a99306d
|
@ -1,5 +1,5 @@
|
||||||
#Tue Sep 11 19:21:09 CEST 2007
|
#Tue Sep 11 19:21:09 CEST 2007
|
||||||
version.minor=6
|
version.minor=6
|
||||||
version.patch=0
|
version.patch=1
|
||||||
version.suffix=-final
|
version.suffix=-RC1
|
||||||
version.major=2
|
version.major=2
|
||||||
|
|
46
build.xml
46
build.xml
|
@ -820,8 +820,6 @@ CLDC
|
||||||
ANDROID
|
ANDROID
|
||||||
============================================================================ -->
|
============================================================================ -->
|
||||||
|
|
||||||
<property name="dx.jar" value="${android.home}/tools/lib/dx.jar"/>
|
|
||||||
|
|
||||||
<target name="android.sources"
|
<target name="android.sources"
|
||||||
description="Create the source directory for Android library"
|
description="Create the source directory for Android library"
|
||||||
>
|
>
|
||||||
|
@ -843,7 +841,7 @@ ANDROID
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="android.libraries"
|
<target name="android.libraries"
|
||||||
depends="setup.quick, android.sources"
|
depends="setup.quick, android.sources"
|
||||||
description="Builds the Scala library for Android">
|
description="Builds the Scala library for Android">
|
||||||
<fail message="Android home is not set or could not find android.jar in ${android.home}">
|
<fail message="Android home is not set or could not find android.jar in ${android.home}">
|
||||||
|
@ -897,9 +895,9 @@ ANDROID
|
||||||
</quick>
|
</quick>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="android" depends="android.libraries"
|
<target name="android.build" depends="android.libraries"
|
||||||
description="Convert this project's .class files into .dex files">
|
description="Convert this project's .class files into .dex files">
|
||||||
<java jar="${dx.jar}" fork="true" failonerror="true">
|
<java jar="${dx.jar}" fork="true" failonerror="true">
|
||||||
<jvmarg value="-Djava.ext.dirs=${android.home}${file.separator}tools${file.separator}lib"/>
|
<jvmarg value="-Djava.ext.dirs=${android.home}${file.separator}tools${file.separator}lib"/>
|
||||||
<jvmarg value="-Xmx384M"/>
|
<jvmarg value="-Xmx384M"/>
|
||||||
<arg value="--dex"/>
|
<arg value="--dex"/>
|
||||||
|
@ -921,6 +919,22 @@ ANDROID
|
||||||
<!-- examples ? -->
|
<!-- examples ? -->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="android" depends="init">
|
||||||
|
<condition property="android.supported">
|
||||||
|
<and>
|
||||||
|
<not><contains string="${java.version}" substring="1.4"/></not>
|
||||||
|
<contains string="${java.vendor}" substring="Sun"/>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<if><isset property="android.supported"/><then>
|
||||||
|
<antcall target="android.build">
|
||||||
|
<param name="dx.jar" value="${android.home}/tools/lib/dx.jar"/>
|
||||||
|
</antcall>
|
||||||
|
</then><else>
|
||||||
|
<echo message="The Android library build requires Sun Java 1.5 or newer"/>
|
||||||
|
</else></if>
|
||||||
|
</target>
|
||||||
|
|
||||||
<!-- ===========================================================================
|
<!-- ===========================================================================
|
||||||
MSIL
|
MSIL
|
||||||
============================================================================ -->
|
============================================================================ -->
|
||||||
|
@ -1751,7 +1765,7 @@ GENERATES A DISTRIBUTION
|
||||||
<libset dir="${dist.current.dir}/lib" includes="${lib.jar.name},${dbc.jar.name}"/>
|
<libset dir="${dist.current.dir}/lib" includes="${lib.jar.name},${dbc.jar.name}"/>
|
||||||
<srcset dir="${dist.current.dir}/lib" includes="${libsrc.jar.name},${dbcsrc.jar.name}"/>
|
<srcset dir="${dist.current.dir}/lib" includes="${libsrc.jar.name},${dbcsrc.jar.name}"/>
|
||||||
</quicksbaz>
|
</quicksbaz>
|
||||||
<!-- Create the Scala developper package -->
|
<!-- Create the Scala developer package -->
|
||||||
<quicksbaz
|
<quicksbaz
|
||||||
file="${dist.dir}/scala-devel-${version.number}.sbp"
|
file="${dist.dir}/scala-devel-${version.number}.sbp"
|
||||||
adfile="${dist.dir}/scala-devel-${version.number}.advert"
|
adfile="${dist.dir}/scala-devel-${version.number}.advert"
|
||||||
|
@ -1812,15 +1826,17 @@ GENERATES A DISTRIBUTION
|
||||||
<libset dir="${cldc.dir}/lib" includes="*.jar"/>
|
<libset dir="${cldc.dir}/lib" includes="*.jar"/>
|
||||||
</quicksbaz>
|
</quicksbaz>
|
||||||
<!-- Creates the Android package -->
|
<!-- Creates the Android package -->
|
||||||
<quicksbaz
|
<if><isset property="android.supported"/>
|
||||||
file="${dist.dir}/scala-android-${version.number}.sbp"
|
<quicksbaz
|
||||||
adfile="${dist.dir}/scala-android-${version.number}.advert"
|
file="${dist.dir}/scala-android-${version.number}.sbp"
|
||||||
name="scala-android"
|
adfile="${dist.dir}/scala-android-${version.number}.advert"
|
||||||
version="${version.number}"
|
name="scala-android"
|
||||||
desc="The Scala Android package contains everything needed to use Scala on Android."
|
version="${version.number}"
|
||||||
link="${sbaz.universe}/scala-android-${version.number}.sbp">
|
desc="The Scala Android package contains everything needed to use Scala on Android."
|
||||||
<libset dir="${android.dir}/lib" includes="*.jar"/>
|
link="${sbaz.universe}/scala-android-${version.number}.sbp">
|
||||||
</quicksbaz>
|
<libset dir="${android.dir}/lib" includes="*.jar"/>
|
||||||
|
</quicksbaz>
|
||||||
|
</if>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build.archive" depends="build.dist">
|
<target name="build.archive" depends="build.dist">
|
||||||
|
|
Loading…
Reference in New Issue