@@ -265,42 +265,36 @@ TODO:
265
265
-->
266
266
<if ><not ><isset property =" maven-deps-done" ></isset ></not ><then >
267
267
<mkdir dir =" ${ user.home } /.m2/repository" />
268
-
269
- <artifact : remoteRepository id =" sonatype-release" url =" https://oss.sonatype.org/content/repositories/releases" />
270
- <artifact : remoteRepository id =" sonatype-snapshots" url =" https://oss.sonatype.org/content/repositories/snapshots" />
271
- <artifact : remoteRepository id =" extra-repo" url =" ${ extra.repo.url } " />
272
-
273
268
<!-- This task has an issue where if the user directory does not exist, so we create it above. UGH. -->
274
269
<artifact : dependencies pathId =" extra.tasks.classpath" filesetId =" extra.tasks.fileset" >
275
- <dependency groupId =" biz.aQute" artifactId =" bnd" version =" 1.50.0 " />
270
+ <dependency groupId =" biz.aQute.bnd " artifactId =" biz.aQute. bnd" version =" 2.4.1 " />
276
271
</artifact : dependencies >
277
272
278
273
<artifact : dependencies pathId =" jarjar.classpath" >
279
274
<dependency groupId =" com.googlecode.jarjar" artifactId =" jarjar" version =" 1.3" />
280
275
</artifact : dependencies >
281
276
282
277
<!-- JUnit -->
283
- <property name =" junit.version" value =" 4.11 " />
278
+ <property name =" junit.version" value =" 4.12 " />
284
279
<artifact : dependencies pathId =" junit.classpath" filesetId =" junit.fileset" >
285
280
<dependency groupId =" junit" artifactId =" junit" version =" ${ junit.version } " />
286
281
</artifact : dependencies >
287
282
<copy-deps project =" junit" />
288
283
289
284
<!-- Pax runner -->
290
- <property name =" pax.exam.version" value =" 3 .5.0" /> <!-- Last version which supports Java 6 -- >
291
- <property name =" osgi.felix.version" value =" 4.4.0 " />
292
- <property name =" osgi.equinox.version" value =" 3.7.1 " />
285
+ <property name =" pax.exam.version" value =" 4 .5.0" />
286
+ <property name =" osgi.felix.version" value =" 5.0.1 " />
287
+ <property name =" osgi.equinox.version" value =" 3.10.100.v20150521-1310 " />
293
288
<artifact : dependencies pathId =" pax.exam.classpath" filesetId =" pax.exam.fileset" >
294
- <dependency groupId =" org.ops4j.pax.exam" artifactId =" pax-exam-container-native" version =" ${ pax.exam.version } " >
295
- <exclusion groupId =" org.osgi" artifactId =" org.osgi.core" /><!-- Avoid dragging in a dependency which requires Java >6 -->
296
- </dependency >
289
+ <dependency groupId =" org.ops4j.pax.exam" artifactId =" pax-exam-container-native" version =" ${ pax.exam.version } " />
297
290
<dependency groupId =" org.ops4j.pax.exam" artifactId =" pax-exam-junit4" version =" ${ pax.exam.version } " />
298
291
<dependency groupId =" org.ops4j.pax.exam" artifactId =" pax-exam-link-assembly" version =" ${ pax.exam.version } " />
299
- <dependency groupId =" org.ops4j.pax.url" artifactId =" pax-url-aether" version =" 2.2.0 " />
300
- <dependency groupId =" org.ops4j.pax.swissbox" artifactId =" pax-swissbox-tracker" version =" 1.8.0 " />
301
- <dependency groupId =" ch.qos.logback" artifactId =" logback-core" version =" 1.1.2 " />
302
- <dependency groupId =" ch.qos.logback" artifactId =" logback-classic" version =" 1.1.2 " />
292
+ <dependency groupId =" org.ops4j.pax.url" artifactId =" pax-url-aether" version =" 2.4.1 " />
293
+ <dependency groupId =" org.ops4j.pax.swissbox" artifactId =" pax-swissbox-tracker" version =" 1.8.1 " />
294
+ <dependency groupId =" ch.qos.logback" artifactId =" logback-core" version =" 1.1.3 " />
295
+ <dependency groupId =" ch.qos.logback" artifactId =" logback-classic" version =" 1.1.3 " />
303
296
<dependency groupId =" junit" artifactId =" junit" version =" ${ junit.version } " />
297
+ <dependency groupId =" org.slf4j" artifactId =" slf4j-api" version =" 1.7.12" />
304
298
</artifact : dependencies >
305
299
<copy-deps project =" pax.exam" />
306
300
@@ -309,42 +303,12 @@ TODO:
309
303
</artifact : dependencies >
310
304
311
305
<artifact : dependencies pathId =" osgi.framework.equinox" >
312
- <dependency groupId =" org.eclipse.osgi " artifactId =" org.eclipse.osgi" version =" ${ osgi.equinox.version } " />
306
+ <dependency groupId =" org.eclipse.tycho " artifactId =" org.eclipse.osgi" version =" ${ osgi.equinox.version } " />
313
307
</artifact : dependencies >
314
308
315
309
<artifact : remoteRepository id =" sonatype-release" url =" https://oss.sonatype.org/content/repositories/releases" />
316
310
<artifact : remoteRepository id =" extra-repo" url =" ${ extra.repo.url } " />
317
311
318
- <!-- scala-java8-compat, used by the experimental -target jvm-1.8 support. -->
319
- <if ><isset property =" scala-java8-compat.package" /><then >
320
- <property name =" scala-java8-compat.version" value =" 0.5.0" />
321
- <property name =" scala-java8-compat.binary.version" value =" 2.11" />
322
- <artifact : dependencies pathId =" scala-java8-compat.classpath" filesetId =" scala-java8-compat.fileset" >
323
- <dependency groupId =" org.scala-lang.modules" artifactId =" scala-java8-compat_${ scala-java8-compat.binary.version } " version =" ${ scala-java8-compat.version } " >
324
- <exclusion groupId =" org.scala-lang" artifactId =" scala-library" />
325
- </dependency >
326
- </artifact : dependencies >
327
- <property name =" scala-java8-compat-classes" value =" ${ build-quick.dir } /scala-java8-compat" />
328
- <delete dir =" ${ scala-java8-compat-classes } " />
329
- <unzip dest =" ${ scala-java8-compat-classes } " >
330
- <fileset refid =" scala-java8-compat.fileset" />
331
- <patternset >
332
- <include name =" **/*.class" />
333
- </patternset >
334
- </unzip >
335
- <path id =" scala-java8-compat.libs" >
336
- <pathelement location =" ${ scala-java8-compat-classes } " />
337
- </path >
338
- <fileset id =" scala-java8-compat.fileset" dir =" ${ scala-java8-compat-classes } " >
339
- <include name =" **/*" />
340
- </fileset >
341
- </then >
342
- <else >
343
- <path id =" scala-java8-compat.libs" />
344
- <fileset id =" scala-java8-compat.fileset" dir =" ." excludes =" **" />
345
- </else >
346
- </if >
347
-
348
312
<!-- prepare, for each of the names below, the property "@{name}.cross", set to the
349
313
necessary cross suffix (usually something like "_2.11.0-M6". -->
350
314
<prepareCross name =" scala-xml" />
@@ -637,18 +601,21 @@ TODO:
637
601
638
602
<property name =" swing.description" value =" Scala Swing Library" />
639
603
<property name =" swing.package" value =" modules." />
604
+ <property name =" swing.targetjar" value =" scala-swing${ scala-swing.cross } -${ scala-swing.version.number } .jar" />
640
605
<property name =" swing.jar" value =" ${ scala-swing } " />
641
606
<property name =" swing.src" value =" false" />
642
607
<property name =" swing.srcjar" value =" ${ scala-swing-sources } " />
643
608
644
609
<property name =" parser-combinators.description" value =" Scala Parser Combinators Library" />
645
610
<property name =" parser-combinators.package" value =" modules." />
611
+ <property name =" parser-combinators.targetjar" value =" scala-parser-combinators${ scala-parser-combinators.cross } -${ scala-parser-combinators.version.number } .jar" />
646
612
<property name =" parser-combinators.jar" value =" ${ scala-parser-combinators } " />
647
613
<property name =" parser-combinators.src" value =" false" />
648
614
<property name =" parser-combinators.srcjar" value =" ${ scala-parser-combinators-sources } " />
649
615
650
616
<property name =" xml.description" value =" Scala XML Library" />
651
617
<property name =" xml.package" value =" modules." />
618
+ <property name =" xml.targetjar" value =" scala-xml${ scala-xml.cross } -${ scala-xml.version.number } .jar" />
652
619
<property name =" xml.jar" value =" ${ scala-xml } " />
653
620
<property name =" xml.src" value =" false" />
654
621
<property name =" xml.srcjar" value =" ${ scala-xml-sources } " />
@@ -720,7 +687,6 @@ TODO:
720
687
<pathelement location =" ${ build-locker.dir } /classes/library" />
721
688
<path refid =" forkjoin.classpath" />
722
689
<path refid =" aux.libs" />
723
- <path refid =" scala-java8-compat.libs" />
724
690
</path >
725
691
726
692
<path id =" locker.reflect.build.path" >
@@ -742,7 +708,6 @@ TODO:
742
708
<pathelement location =" ${ build-quick.dir } /classes/library" />
743
709
<path refid =" forkjoin.classpath" />
744
710
<path refid =" aux.libs" />
745
- <path refid =" scala-java8-compat.libs" />
746
711
</path >
747
712
748
713
<path id =" quick.reflect.build.path" >
@@ -835,7 +800,6 @@ TODO:
835
800
<path id =" pack.library.files" >
836
801
<fileset dir =" ${ build-quick.dir } /classes/library" />
837
802
<fileset dir =" ${ forkjoin-classes } " />
838
- <fileset refid =" scala-java8-compat.fileset" />
839
803
</path >
840
804
841
805
<path id =" pack.repl-jline.files" > <fileset dir =" ${ build-quick.dir } /classes/repl-jline" /> </path >
@@ -1091,7 +1055,8 @@ TODO:
1091
1055
<condition property =" locker.locked" ><available file =" ${ build-locker.dir } /locker.locked" /></condition ></target >
1092
1056
1093
1057
<target name =" locker.lib" depends =" locker.start" unless =" locker.locked" >
1094
- <staged-build with =" starr" stage =" locker" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.includes" /></target >
1058
+ <!-- "mixed" needed for JFunction classes in scala.runtime.java8 -->
1059
+ <staged-build with =" starr" stage =" locker" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.includes" mixed =" true" /></target >
1095
1060
1096
1061
<target name =" locker.reflect" depends =" locker.lib" unless =" locker.locked" >
1097
1062
<staged-build with =" starr" stage =" locker" project =" reflect" /></target >
@@ -1112,7 +1077,8 @@ TODO:
1112
1077
<target name =" quick.start" depends =" locker.done" />
1113
1078
1114
1079
<target name =" quick.lib" depends =" quick.start" >
1115
- <staged-build with =" locker" stage =" quick" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.rootdoc.includes" /></target >
1080
+ <!-- "mixed" needed for JFunction classes in scala.runtime.java8 -->
1081
+ <staged-build with =" locker" stage =" quick" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.rootdoc.includes" mixed =" true" /></target >
1116
1082
1117
1083
<target name =" quick.reflect" depends =" quick.lib" >
1118
1084
<staged-build with =" locker" stage =" quick" project =" reflect" /> </target >
@@ -1246,7 +1212,8 @@ TODO:
1246
1212
BOOTSTRAPPING BUILD (STRAP)
1247
1213
============================================================================ -->
1248
1214
<target name =" strap.done" depends =" pack.done" >
1249
- <staged-build with =" pack" stage =" strap" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.rootdoc.includes" />
1215
+ <!-- "mixed" needed for JFunction classes in scala.runtime.java8 -->
1216
+ <staged-build with =" pack" stage =" strap" project =" library" srcpath =" ${ src.dir } /library" includes =" lib.rootdoc.includes" mixed =" true" />
1250
1217
<staged-build with =" pack" stage =" strap" project =" reflect" />
1251
1218
<staged-build with =" pack" stage =" strap" project =" compiler" />
1252
1219
</target >
@@ -1466,9 +1433,9 @@ TODO:
1466
1433
srcdir =" ${ test.junit.src } "
1467
1434
destdir =" ${ test.junit.classes } "
1468
1435
classpathref =" test.junit.compiler.build.path"
1469
- target =" 1.6 "
1470
- source =" 1.5 "
1471
- compiler =" javac1.6 "
1436
+ target =" 1.8 "
1437
+ source =" 1.8 "
1438
+ compiler =" javac1.8 "
1472
1439
includes =" **/*.java" />
1473
1440
<scalacfork
1474
1441
destdir =" ${ test.junit.classes } "
0 commit comments