diff --git a/docs/docs/contributing/eclipse.md b/docs/docs/contributing/eclipse.md index fa59a5dc6b0a..83b7dc0a9a4f 100644 --- a/docs/docs/contributing/eclipse.md +++ b/docs/docs/contributing/eclipse.md @@ -6,7 +6,7 @@ title: Building Dotty with Eclipse Build setup ----------- -1. Run `sbt eclipse` +1. Run `sbt ;managedSources;eclipse` 2. It is recommended to change the default output folder (in `Properties > java build path > Source`) to `dotty/classes` instead of `dotty/bin` because @@ -21,9 +21,6 @@ If you have `CLASSPATH` defined: that it contains a `CLASSPATH` variable which reflects the current `CLASSPATH`. -In order for compilation errors related to `ENUM` to be resolved, make sure -that scala-reflect 2.11.5 is on the classpath. - Running the compiler Main class from Eclipse -------------------------------------------- 1. Navigate to `dotty.tools.dotc.Main` diff --git a/docs/docs/contributing/getting-started.md b/docs/docs/contributing/getting-started.md index 6f14c82992e8..4caeb28fd5b9 100644 --- a/docs/docs/contributing/getting-started.md +++ b/docs/docs/contributing/getting-started.md @@ -26,6 +26,7 @@ Start by cloning the repository: ```bash $ git clone --recursive https://github.com/lampepfl/dotty.git $ cd dotty +$ sbt managedSources ## Needed for IDE import to succeed ``` Dotty provides a standard sbt build: compiling, running and starting a repl can diff --git a/project/Build.scala b/project/Build.scala index 7cc57a9057af..3ec2eadfd5fe 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -151,7 +151,7 @@ object Build { crossPaths := false, // Do not depend on the Scala library autoScalaLibrary := false, - // Let the sbt eclipse plugin now that this is a Java-only project + // Let the sbt eclipse plugin know that this is a Java-only project EclipseKeys.projectFlavor := EclipseProjectFlavor.Java, //Remove javac invalid options in Compile doc javacOptions in (Compile, doc) --= Seq("-Xlint:unchecked", "-Xlint:deprecation")