Skip to content

Document IDE import #2319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions docs/docs/contributing/eclipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`
Expand Down
1 change: 1 addition & 0 deletions docs/docs/contributing/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down