@@ -165,7 +165,6 @@ TODO:
165
165
<property name =" build.dir" value =" ${ basedir } /build" />
166
166
<property name =" build-deps.dir" value =" ${ build.dir } /deps" />
167
167
<property name =" build-libs.dir" value =" ${ build.dir } /libs" />
168
- <property name =" build-asm.dir" value =" ${ build-libs.dir } " />
169
168
<property name =" build-forkjoin.dir" value =" ${ build-libs.dir } " />
170
169
<property name =" build-locker.dir" value =" ${ build.dir } /locker" />
171
170
<property name =" build-quick.dir" value =" ${ build.dir } /quick" />
@@ -353,6 +352,11 @@ TODO:
353
352
<prepareCross name =" partest" />
354
353
<prepareCross name =" scalacheck" />
355
354
355
+ <artifact : dependencies pathId =" asm.classpath" filesetId =" asm.fileset" >
356
+ <dependency groupId =" org.scala-lang.modules" artifactId =" scala-asm" version =" ${ scala-asm.version } " />
357
+ </artifact : dependencies >
358
+ <copy-deps project =" asm" />
359
+
356
360
<!-- TODO: delay until absolutely necessary to allow minimal build, also move out partest dependency from scaladoc -->
357
361
<artifact : dependencies pathId =" partest.classpath" filesetId =" partest.fileset" versionsId =" partest.versions" >
358
362
<!-- uncomment the following if you're deploying your own partest locally -->
@@ -624,9 +628,7 @@ TODO:
624
628
</then ></if >
625
629
626
630
<path id =" forkjoin.classpath" path =" ${ build-forkjoin.dir } /classes/forkjoin" />
627
- <path id =" asm.classpath" path =" ${ build-asm.dir } /classes/asm" />
628
631
<property name =" forkjoin-classes" refid =" forkjoin.classpath" />
629
- <property name =" asm-classes" refid =" asm.classpath" />
630
632
631
633
<!-- the following properties fully define staged-docs, staged-pack, make-bundle, copy-bundle and mvn-package for each of the projects -->
632
634
<property name =" library.description" value =" Scala Standard Library" />
@@ -693,7 +695,7 @@ TODO:
693
695
<property name =" partest-extras.description" value =" Scala Compiler Testing Tool (compiler-specific extras)" />
694
696
<property name =" partest-javaagent.description" value =" Scala Compiler Testing Tool (compiler-specific java agent)" />
695
697
696
- <!-- projects without project-specific options: asm, forkjoin, manual, bin, repl -->
698
+ <!-- projects without project-specific options: forkjoin, manual, bin, repl -->
697
699
<for list =" actors,compiler,interactive,scaladoc,library,parser-combinators,partest,partest-extras,partest-javaagent,reflect,scalap,swing,xml,continuations-plugin,continuations-library" param =" project" >
698
700
<sequential >
699
701
<!-- description is mandatory -->
@@ -878,8 +880,9 @@ TODO:
878
880
<fileset dir =" ${ build-quick.dir } /classes/scaladoc" />
879
881
<fileset dir =" ${ build-quick.dir } /classes/interactive" />
880
882
<fileset dir =" ${ build-quick.dir } /classes/repl" />
881
- <fileset dir =" ${ asm-classes } " />
882
883
</path >
884
+ <fileset id =" pack.compiler.include-jars" refid =" asm.fileset" />
885
+ <property name =" pack.compiler.include-jars.defined" value =" yeah" />
883
886
884
887
<!-- TODO modularize compiler.
885
888
<path id="pack.scaladoc.files"> <fileset dir="${build-quick.dir}/classes/scaladoc"/> </path>
@@ -1078,9 +1081,9 @@ TODO:
1078
1081
<!-- ===========================================================================
1079
1082
CLEANLINESS
1080
1083
=============================================================================-->
1081
- <target name =" libs.clean" > <clean build =" libs" /> < clean build = " asm " /> </target >
1082
- <target name =" quick.clean" depends =" libs.clean" > <clean build =" quick" /> <clean build =" pack" /> <clean build =" strap" /> </target >
1083
- <target name =" locker.clean" depends =" quick.clean" > <clean build =" locker" /> </target >
1084
+ <target name =" libs.clean" > <clean build =" libs" /> </target >
1085
+ <target name =" quick.clean" depends =" libs.clean" > <clean build =" quick" /> <clean build =" pack" /> <clean build =" strap" /> </target >
1086
+ <target name =" locker.clean" depends =" quick.clean" > <clean build =" locker" /> </target >
1084
1087
1085
1088
<target name =" docs.clean" > <clean build =" docs" /> <delete dir =" ${ build.dir } /manmaker" includeemptydirs =" yes" quiet =" yes" failonerror =" no" /> </target >
1086
1089
<target name =" dist.clean" > <delete dir =" ${ dists.dir } " includeemptydirs =" yes" quiet =" yes" failonerror =" no" /> </target >
@@ -1098,7 +1101,6 @@ TODO:
1098
1101
LOCAL DEPENDENCIES
1099
1102
============================================================================ -->
1100
1103
1101
- <target name =" asm.done" depends =" init" > <simple-javac project =" asm" jar =" no" /> </target >
1102
1104
<target name =" forkjoin.done" depends =" init" > <simple-javac project =" forkjoin" args =" -XDignore.symbol.file" jar =" no" /></target >
1103
1105
1104
1106
<!-- For local development only. We only allow released versions of Scala for STARR.
@@ -1121,7 +1123,7 @@ TODO:
1121
1123
<!-- ===========================================================================
1122
1124
LOCAL REFERENCE BUILD (LOCKER)
1123
1125
============================================================================ -->
1124
- <target name =" locker.start" depends =" asm.done, forkjoin.done" >
1126
+ <target name =" locker.start" depends =" forkjoin.done" >
1125
1127
<condition property =" locker.locked" ><available file =" ${ build-locker.dir } /locker.locked" /></condition ></target >
1126
1128
1127
1129
<target name =" locker.lib" depends =" locker.start" unless =" locker.locked" >
@@ -1189,7 +1191,7 @@ TODO:
1189
1191
<target name =" pack.reflect" depends =" quick.reflect" > <staged-pack project =" reflect" /> </target >
1190
1192
1191
1193
<!-- TODO modularize compiler. Remove other quick targets when they become modules. -->
1192
- <target name =" pack.comp" depends =" quick.comp, quick.scaladoc, quick.interactive, quick.repl, asm.done " >
1194
+ <target name =" pack.comp" depends =" quick.comp, quick.scaladoc, quick.interactive, quick.repl" >
1193
1195
<staged-pack project =" compiler" manifest =" ${ build-pack.dir } /META-INF/MANIFEST.MF" >
1194
1196
<pre > <!-- TODO the files copied here do not influence actuality of this target (nor does the manifest) -->
1195
1197
<copy todir =" ${ build-pack.dir } /lib" >
0 commit comments