File tree 3 files changed +3
-5
lines changed 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
6
6
Build setup
7
7
-----------
8
8
9
- 1 . Run ` sbt eclipse `
9
+ 1 . Run ` sbt ;managedSources; eclipse `
10
10
11
11
2 . It is recommended to change the default output folder (in `Properties > java
12
12
build path > Source` ) to ` dotty/classes` instead of ` dotty/bin` because
@@ -21,9 +21,6 @@ If you have `CLASSPATH` defined:
21
21
that it contains a ` CLASSPATH ` variable which reflects the current
22
22
` CLASSPATH ` .
23
23
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
-
27
24
Running the compiler Main class from Eclipse
28
25
--------------------------------------------
29
26
1 . 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:
26
26
``` bash
27
27
$ git clone --recursive https://github.com/lampepfl/dotty.git
28
28
$ cd dotty
29
+ $ sbt managedSources # # Needed for IDE import to succeed
29
30
```
30
31
31
32
Dotty 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 {
151
151
crossPaths := false ,
152
152
// Do not depend on the Scala library
153
153
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
155
155
EclipseKeys .projectFlavor := EclipseProjectFlavor .Java ,
156
156
// Remove javac invalid options in Compile doc
157
157
javacOptions in (Compile , doc) --= Seq (" -Xlint:unchecked" , " -Xlint:deprecation" )
You can’t perform that action at this time.
0 commit comments