diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-11-07 02:16:32 -0800 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-11-07 02:16:32 -0800 |
commit | bb02fb350f7ec4aefcc830fec36a964ae45cfdd4 (patch) | |
tree | 69ac3062d37e91475436cebde4c347a29b026080 /src | |
parent | 13ab5113053a6af7cca216881df30f8dd13cf1cc (diff) | |
parent | bb7e96a9d2744c39ce0dd8cedcb070b3c2ca66c9 (diff) | |
download | scala-bb02fb350f7ec4aefcc830fec36a964ae45cfdd4.tar.gz scala-bb02fb350f7ec4aefcc830fec36a964ae45cfdd4.tar.bz2 scala-bb02fb350f7ec4aefcc830fec36a964ae45cfdd4.zip |
Merge pull request #3104 from dotta/update-eclipse-setup-instructions
Update eclipse setup instructions
Diffstat (limited to 'src')
-rw-r--r-- | src/eclipse/README.md | 11 | ||||
-rw-r--r-- | src/eclipse/partest/.classpath | 2 | ||||
-rw-r--r-- | src/eclipse/scaladoc/.classpath | 6 |
3 files changed, 15 insertions, 4 deletions
diff --git a/src/eclipse/README.md b/src/eclipse/README.md index a1dc01e122..d23e10ca1c 100644 --- a/src/eclipse/README.md +++ b/src/eclipse/README.md @@ -61,6 +61,17 @@ consider them unchanged: git update-index --no-assume-unchanged `find src/eclipse -iname .classpath -or -iname .project` +If it doesn’t compile +===================== + +The likely reason is that the build path of the imported projects isn’t correct. This can happen for instance +when the [version.properties](https://github.com/scala/scala/blob/master/versions.properties) file is updated, +and Eclipse .classpath of the different projects isn’t updated accordingly. The fix is simple, manually inspect +the build path of each project and make sure the version of the declared dependencies is in sync with the version +declared in the `version.properties` file. If it isn’t, update it manually and, when done, don’t forget to share +your changes via a pull request. +(We are aware this is manual process is cumbersome. If you feel like scripting this process, pull requests are of course welcome.) + DETAILS ======= diff --git a/src/eclipse/partest/.classpath b/src/eclipse/partest/.classpath index 2214517d92..abe92cebb5 100644 --- a/src/eclipse/partest/.classpath +++ b/src/eclipse/partest/.classpath @@ -5,7 +5,7 @@ <classpathentry combineaccessrules="false" kind="src" path="/repl"/> <classpathentry kind="var" path="M2_REPO/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0.jar"/> <classpathentry kind="var" path="M2_REPO/org/scala-tools/testing/test-interface/0.5/test-interface-0.5.jar"/> - <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-partest_2.11.0-M4/1.0-RC4/scala-partest_2.11.0-M4-1.0-RC4.jar"/> + <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-partest_2.11.0-M5/1.0-RC5/scala-partest_2.11.0-M5-1.0-RC5.jar"/> <classpathentry kind="var" path="SCALA_BASEDIR/lib/ant/ant.jar"/> <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/> <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_COMPILER_CONTAINER"/> diff --git a/src/eclipse/scaladoc/.classpath b/src/eclipse/scaladoc/.classpath index 1135a5c311..c5b8a02c0b 100644 --- a/src/eclipse/scaladoc/.classpath +++ b/src/eclipse/scaladoc/.classpath @@ -6,8 +6,8 @@ <classpathentry combineaccessrules="false" kind="src" path="/scala-compiler"/> <classpathentry combineaccessrules="false" kind="src" path="/scala-library"/> <classpathentry combineaccessrules="false" kind="src" path="/partest-extras"/> - <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-xml_2.11.0-M4/1.0-RC3/scala-xml_2.11.0-M4-1.0-RC3.jar"/> - <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-parser-combinators_2.11.0-M4/1.0-RC1/scala-parser-combinators_2.11.0-M4-1.0-RC1.jar"/> - <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-partest_2.11.0-M4/1.0-RC4/scala-partest_2.11.0-M4-1.0-RC4.jar"/> + <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-xml_2.11.0-M5/1.0-RC4/scala-xml_2.11.0-M5-1.0-RC4.jar"/> + <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-parser-combinators_2.11.0-M5/1.0-RC2/scala-parser-combinators_2.11.0-M5-1.0-RC2.jar"/> + <classpathentry kind="var" path="M2_REPO/org/scala-lang/modules/scala-partest_2.11.0-M5/1.0-RC5/scala-partest_2.11.0-M5-1.0-RC5.jar"/> <classpathentry kind="output" path="build-quick-scaladoc"/> </classpath> |