summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-05-12 10:29:53 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-05-12 10:29:53 +0200
commit297eeb335cbc50be9107d3f49cc7eb0487514ca7 (patch)
treefff0625f5cf4952ef237ebfab4a1f9cef743be27 /build.xml
parent4b0e3bc38a6fe58dbcf43fbe1d21ee8467f7326c (diff)
parent6fc2a6897b52b684ffe40dac87df6fbfc2d3d508 (diff)
downloadscala-297eeb335cbc50be9107d3f49cc7eb0487514ca7.tar.gz
scala-297eeb335cbc50be9107d3f49cc7eb0487514ca7.tar.bz2
scala-297eeb335cbc50be9107d3f49cc7eb0487514ca7.zip
Merge pull request #4499 from lrytz/removeAsm
Move ASM out of the repository [ci: last-only]
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml24
1 files changed, 13 insertions, 11 deletions
diff --git a/build.xml b/build.xml
index 07622e6061..938dc27dca 100755
--- a/build.xml
+++ b/build.xml
@@ -165,7 +165,6 @@ TODO:
<property name="build.dir" value="${basedir}/build"/>
<property name="build-deps.dir" value="${build.dir}/deps"/>
<property name="build-libs.dir" value="${build.dir}/libs"/>
- <property name="build-asm.dir" value="${build-libs.dir}"/>
<property name="build-forkjoin.dir" value="${build-libs.dir}"/>
<property name="build-locker.dir" value="${build.dir}/locker"/>
<property name="build-quick.dir" value="${build.dir}/quick"/>
@@ -353,6 +352,11 @@ TODO:
<prepareCross name="partest"/>
<prepareCross name="scalacheck"/>
+ <artifact:dependencies pathId="asm.classpath" filesetId="asm.fileset">
+ <dependency groupId="org.scala-lang.modules" artifactId="scala-asm" version="${scala-asm.version}"/>
+ </artifact:dependencies>
+ <copy-deps project="asm"/>
+
<!-- TODO: delay until absolutely necessary to allow minimal build, also move out partest dependency from scaladoc -->
<artifact:dependencies pathId="partest.classpath" filesetId="partest.fileset" versionsId="partest.versions">
<!-- uncomment the following if you're deploying your own partest locally -->
@@ -624,9 +628,7 @@ TODO:
</then></if>
<path id="forkjoin.classpath" path="${build-forkjoin.dir}/classes/forkjoin"/>
- <path id="asm.classpath" path="${build-asm.dir}/classes/asm"/>
<property name="forkjoin-classes" refid="forkjoin.classpath"/>
- <property name="asm-classes" refid="asm.classpath"/>
<!-- the following properties fully define staged-docs, staged-pack, make-bundle, copy-bundle and mvn-package for each of the projects -->
<property name="library.description" value="Scala Standard Library"/>
@@ -693,7 +695,7 @@ TODO:
<property name="partest-extras.description" value="Scala Compiler Testing Tool (compiler-specific extras)"/>
<property name="partest-javaagent.description" value="Scala Compiler Testing Tool (compiler-specific java agent)"/>
- <!-- projects without project-specific options: asm, forkjoin, manual, bin, repl -->
+ <!-- projects without project-specific options: forkjoin, manual, bin, repl -->
<for list="actors,compiler,interactive,scaladoc,library,parser-combinators,partest,partest-extras,partest-javaagent,reflect,scalap,swing,xml,continuations-plugin,continuations-library" param="project">
<sequential>
<!-- description is mandatory -->
@@ -878,8 +880,9 @@ TODO:
<fileset dir="${build-quick.dir}/classes/scaladoc"/>
<fileset dir="${build-quick.dir}/classes/interactive"/>
<fileset dir="${build-quick.dir}/classes/repl"/>
- <fileset dir="${asm-classes}"/>
</path>
+ <fileset id="pack.compiler.include-jars" refid="asm.fileset"/>
+ <property name="pack.compiler.include-jars.defined" value="yeah"/>
<!-- TODO modularize compiler.
<path id="pack.scaladoc.files"> <fileset dir="${build-quick.dir}/classes/scaladoc"/> </path>
@@ -1078,9 +1081,9 @@ TODO:
<!-- ===========================================================================
CLEANLINESS
=============================================================================-->
- <target name="libs.clean"> <clean build="libs"/> <clean build="asm"/> </target>
- <target name="quick.clean" depends="libs.clean"> <clean build="quick"/> <clean build="pack"/> <clean build="strap"/> </target>
- <target name="locker.clean" depends="quick.clean"> <clean build="locker"/> </target>
+ <target name="libs.clean"> <clean build="libs"/> </target>
+ <target name="quick.clean" depends="libs.clean"> <clean build="quick"/> <clean build="pack"/> <clean build="strap"/> </target>
+ <target name="locker.clean" depends="quick.clean"> <clean build="locker"/> </target>
<target name="docs.clean"> <clean build="docs"/> <delete dir="${build.dir}/manmaker" includeemptydirs="yes" quiet="yes" failonerror="no"/> </target>
<target name="dist.clean"> <delete dir="${dists.dir}" includeemptydirs="yes" quiet="yes" failonerror="no"/> </target>
@@ -1098,7 +1101,6 @@ TODO:
LOCAL DEPENDENCIES
============================================================================ -->
- <target name="asm.done" depends="init"> <simple-javac project="asm" jar="no"/> </target>
<target name="forkjoin.done" depends="init"> <simple-javac project="forkjoin" args="-XDignore.symbol.file" jar="no"/></target>
<!-- For local development only. We only allow released versions of Scala for STARR.
@@ -1121,7 +1123,7 @@ TODO:
<!-- ===========================================================================
LOCAL REFERENCE BUILD (LOCKER)
============================================================================ -->
- <target name="locker.start" depends="asm.done, forkjoin.done">
+ <target name="locker.start" depends="forkjoin.done">
<condition property="locker.locked"><available file="${build-locker.dir}/locker.locked"/></condition></target>
<target name="locker.lib" depends="locker.start" unless="locker.locked">
@@ -1189,7 +1191,7 @@ TODO:
<target name="pack.reflect" depends="quick.reflect"> <staged-pack project="reflect"/> </target>
<!-- TODO modularize compiler. Remove other quick targets when they become modules. -->
- <target name="pack.comp" depends="quick.comp, quick.scaladoc, quick.interactive, quick.repl, asm.done">
+ <target name="pack.comp" depends="quick.comp, quick.scaladoc, quick.interactive, quick.repl">
<staged-pack project="compiler" manifest="${build-pack.dir}/META-INF/MANIFEST.MF">
<pre> <!-- TODO the files copied here do not influence actuality of this target (nor does the manifest) -->
<copy todir="${build-pack.dir}/lib">