sbt / sbt/sbt-eclipse

issue installing sbteclipse

Open
#270 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
712
Forks
163
PR merge metrics
No merged PRs in 30d

Description

I've followed the instructions to try installing sbteclipse but things aren't working. As far as I can tell, this code shows that I have followed the instructions exactly:
~/.sbt/0.13/plugins$ more plugins.sbt
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "3.0.0")
Then in sbt, I get

eclipse
[error] Not a valid command: eclipse (similar: help, alias)
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error] ^

I've seen this error discussed elsewhere but I've never seen a solution. I'm new to Scala but it seems as if something is missing from the instructions.

Cheers

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ~/.sbt/0.13/plugins/plugins.sbt and the sbteclipse-plugin 3.0.0 declaration, then reproduce the reported eclipse command error in sbt. Done means the plugin is recognized and the eclipse command is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.