diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-07-27 01:38:45 -0700 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-07-27 14:09:40 -0700 |
commit | f3ed70c751f7fadff875b2ea3a5cb77e17eb19d3 (patch) | |
tree | 2c826ea4532225ef5f478a4225fa6a05fe1da951 | |
parent | afbee09c8e0e7b1a4da1f8517c723dad9f1adb6f (diff) | |
download | scala-f3ed70c751f7fadff875b2ea3a5cb77e17eb19d3.tar.gz scala-f3ed70c751f7fadff875b2ea3a5cb77e17eb19d3.tar.bz2 scala-f3ed70c751f7fadff875b2ea3a5cb77e17eb19d3.zip |
The `test-junit` Eclipse project depends on `scala-compiler`
We want to write JUnit tests for Scala compiler so we should depend
on `scala-compiler` project in `test-junit`.
Also, make dependencies of `scala-compiler` project exported so it's
enough to depend on `scala-compiler` to get all the transitive
dependencies that are needed by the compiler. Otherwise, one would
need to copy all dependencies of Scala compiler to all Eclipse projects
that depend on the compiler.
-rw-r--r-- | src/eclipse/scala-compiler/.classpath | 8 | ||||
-rw-r--r-- | src/eclipse/test-junit/.classpath | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/eclipse/scala-compiler/.classpath b/src/eclipse/scala-compiler/.classpath index b6ef5f35bb..c185bc5391 100644 --- a/src/eclipse/scala-compiler/.classpath +++ b/src/eclipse/scala-compiler/.classpath @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="compiler"/> - <classpathentry combineaccessrules="false" kind="src" path="/asm"/> - <classpathentry combineaccessrules="false" kind="src" path="/reflect"/> - <classpathentry combineaccessrules="false" kind="src" path="/scala-library"/> - <classpathentry combineaccessrules="false" kind="src" path="/continuations-library"/> + <classpathentry combineaccessrules="false" exported="true" kind="src" path="/asm"/> + <classpathentry combineaccessrules="false" exported="true" kind="src" path="/reflect"/> + <classpathentry combineaccessrules="false" exported="true" kind="src" path="/scala-library"/> + <classpathentry combineaccessrules="false" exported="true" kind="src" path="/continuations-library"/> <classpathentry kind="var" path="SCALA_BASEDIR/lib/ant/ant.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="build-quick-compiler"/> diff --git a/src/eclipse/test-junit/.classpath b/src/eclipse/test-junit/.classpath index 8e4f88e0f0..fe3c3e4f18 100644 --- a/src/eclipse/test-junit/.classpath +++ b/src/eclipse/test-junit/.classpath @@ -7,5 +7,6 @@ <classpathentry combineaccessrules="false" kind="src" path="/scala-library"/> <classpathentry combineaccessrules="false" kind="src" path="/continuations-library"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry combineaccessrules="false" kind="src" path="/scala-compiler"/> <classpathentry kind="output" path="build-test-junit"/> </classpath> |