@@ -286,10 +286,13 @@ TODO:
286
286
-->
287
287
<!-- <artifact:remoteRepository refid="extra-repo"/> -->
288
288
<dependency groupId =" org.scala-lang.modules" artifactId =" scala-partest_${ scala.binary.version } " version =" ${ partest.version.number } " />
289
- <dependency groupId =" org.scalacheck" artifactId =" scalacheck_${ scala.binary.version } " version =" ${ scalacheck.version.number } " />
290
289
</artifact : dependencies >
291
290
<copy-deps project =" partest" />
292
291
292
+ <artifact : dependencies pathId =" scalacheck.classpath" filesetId =" scalacheck.fileset" versionsId =" scalacheck.versions" >
293
+ <dependency groupId =" org.scalacheck" artifactId =" scalacheck_${ scala.binary.version } " version =" ${ scalacheck.version.number } " />
294
+ </artifact : dependencies >
295
+
293
296
<artifact : dependencies pathId =" repl.deps.classpath" filesetId =" repl.fileset" versionsId =" repl.deps.versions" >
294
297
<dependency groupId =" jline" artifactId =" jline" version =" ${ jline.version } " />
295
298
</artifact : dependencies >
@@ -894,11 +897,30 @@ TODO:
894
897
<pathelement location =" ${ actors.jar } " />
895
898
896
899
<!-- partest's dependencies, which marks most of its dependencies as provided,
900
+ (but not scala-library, so we filter that one out...)
897
901
so we provide them: scala-[library/reflect/compiler], scalap built here,
898
902
scala-xml, scala-parser-combinators via external-modules-nocore,
899
903
scalacheck as part of `partest.classpath` -->
900
- <path refid =" partest.classpath" />
901
- <path refid =" external-modules-nocore" /> <!-- xml, parsers -->
904
+ <restrict >
905
+ <path refid =" partest.classpath" />
906
+ <rsel : not ><rsel : or >
907
+ <rsel : name name =" scala-library*.jar" />
908
+ </rsel : or ></rsel : not >
909
+ </restrict >
910
+ <pathelement location =" ${ scala-xml } " />
911
+ <pathelement location =" ${ scala-parser-combinators } " />
912
+
913
+ <restrict >
914
+ <path refid =" scalacheck.classpath" />
915
+ <rsel : not ><rsel : or >
916
+ <rsel : name name =" scala-library*.jar" />
917
+ <rsel : name name =" scala-compiler*.jar" />
918
+ <rsel : name name =" scala-reflect*.jar" />
919
+ <rsel : name name =" scala-actors*.jar" />
920
+ <rsel : name name =" scala-parser-combinators*.jar" />
921
+ <rsel : name name =" scala-xml*.jar" />
922
+ </rsel : or ></rsel : not >
923
+ </restrict >
902
924
903
925
<!-- partest classes specific to the core compiler build -->
904
926
<pathelement location =" ${ partest-extras.jar } " />
0 commit comments