summaryrefslogtreecommitdiff
path: root/src/eclipse/README.md
diff options
context:
space:
mode:
authorJames Iry <james.iry@typesafe.com>2012-12-05 09:03:40 -0800
committerJames Iry <james.iry@typesafe.com>2012-12-06 07:21:31 -0800
commita725494c6186653f2a383e014ba85cb8b2bab1ea (patch)
treef8e35b23bb53aaaf0e63b80d80bfc16811c38647 /src/eclipse/README.md
parentf50131d70dfe5b18107d7037a72362249640c54b (diff)
downloadscala-a725494c6186653f2a383e014ba85cb8b2bab1ea.tar.gz
scala-a725494c6186653f2a383e014ba85cb8b2bab1ea.tar.bz2
scala-a725494c6186653f2a383e014ba85cb8b2bab1ea.zip
SI-6766 Create a continuations project in eclipse
We're missing a continuations dependency when we try to build reflect in eclipse which causes things to die horribly. This commit adds an eclipse project for the library portion of continuations, makes projects that depend on the scala-library also depend on continuations-library, and adds another bullet to the eclipse readme to turn on the continuations plugin.
Diffstat (limited to 'src/eclipse/README.md')
-rw-r--r--src/eclipse/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eclipse/README.md b/src/eclipse/README.md
index 39a3f457a0..814c0144c6 100644
--- a/src/eclipse/README.md
+++ b/src/eclipse/README.md
@@ -20,7 +20,9 @@ JDK. The Scala library uses such APIs, so you'd see this error:
You can *fix* it by allowing calls to restricted APIs in `Java=>Compiler=>Errors/Warnings=>Deprecated and Restricted API`
settings.
-3. The IDE guesses the Scala library version by looking for `library.properties` inside
+3. We need to build the continuations library for some dependencies and that library requires the continuations plugin to be enabled. In preferences go to Scala=>Compiler and add "continuations:enable" to the P parameter.
+
+4. The IDE guesses the Scala library version by looking for `library.properties` inside
the library jar. The `scala-library` project does not have such a file, so you will see
an error about incompatible libraries. You can work around it by adding a `library.properties`
inside `src/library` with the following contents:
@@ -31,7 +33,7 @@ inside `src/library` with the following contents:
osgi.version.number=2.10.0.v20120603-141530-b34313db72
copyright.string=Copyright 2002-2012 LAMP/EPFL
-4. Project files are tracked by Git, so adding them to `.gitignore` won't prevent them
+5. Project files are tracked by Git, so adding them to `.gitignore` won't prevent them
from being shown as dirty in `git status`. You can still ignore them by telling Git to
consider them unchanged: