We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a84df commit 119c955Copy full SHA for 119c955
src/partest/scala/tools/partest/nest/PathSettings.scala
@@ -43,9 +43,11 @@ object PathSettings {
43
// Directory <root>/test/files/codelib
44
lazy val srcCodeLibDir = Directory(srcDir / "codelib")
45
46
- lazy val srcCodeLib: File = findJar(srcCodeLibDir, "code") getOrElse {
47
- sys.error("No code.jar found in %s".format(srcCodeLibDir))
48
- }
+ lazy val srcCodeLib: File = (
+ findJar(srcCodeLibDir, "code")
+ orElse findJar(Directory(testRoot / "files" / "codelib"), "code") // work with --srcpath pending
49
+ getOrElse sys.error("No code.jar found in %s".format(srcCodeLibDir))
50
+ )
51
52
// Directory <root>/build
53
lazy val buildDir: Directory = {
0 commit comments