File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ title: Building Dotty with Eclipse
66Build setup
77-----------
88
9- 1 . Run ` sbt eclipse `
9+ 1 . Run ` sbt ;managedSources; eclipse `
1010
11112 . It is recommended to change the default output folder (in `Properties > java
1212 build path > Source` ) to ` dotty/classes` instead of ` dotty/bin` because
@@ -21,9 +21,6 @@ If you have `CLASSPATH` defined:
2121 that it contains a ` CLASSPATH ` variable which reflects the current
2222 ` CLASSPATH ` .
2323
24- In order for compilation errors related to ` ENUM ` to be resolved, make sure
25- that scala-reflect 2.11.5 is on the classpath.
26-
2724Running the compiler Main class from Eclipse
2825--------------------------------------------
29261 . Navigate to ` dotty.tools.dotc.Main `
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ Start by cloning the repository:
2626``` bash
2727$ git clone --recursive https://github.com/lampepfl/dotty.git
2828$ cd dotty
29+ $ sbt managedSources # # Needed for IDE import to succeed
2930```
3031
3132Dotty provides a standard sbt build: compiling, running and starting a repl can
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ object Build {
151151 crossPaths := false ,
152152 // Do not depend on the Scala library
153153 autoScalaLibrary := false ,
154- // Let the sbt eclipse plugin now that this is a Java-only project
154+ // Let the sbt eclipse plugin know that this is a Java-only project
155155 EclipseKeys .projectFlavor := EclipseProjectFlavor .Java ,
156156 // Remove javac invalid options in Compile doc
157157 javacOptions in (Compile , doc) --= Seq (" -Xlint:unchecked" , " -Xlint:deprecation" )
You can’t perform that action at this time.
0 commit comments