sbt / sbt/sbt-eclipse

eclipse project file generator

Open
#319 2 comments 0 reactions 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

Hey,

I was having problems generating my eclipse project files for an existing project. I entered into sbt and typed eclipse as follows:

$ sbt
[info] Loading global plugins from C:\Users\jpercent.sbt\0.13\plugins
[info] Loading project definition from C:\Users\jpercent\code\mosaiq-platform\project
[info] Set current project to mosaiq-platform (in build file:/C:/Users/jpercent/code/mosaiq-platform/)

eclipse

It replaced sub projects names that include a dash '-' with an underscore '_' in the .classpath files, and the project could not build in eclipse. Is there a work around for this? I don't want to have to edit the sub projects every time.

I'm running SBT Eclipse version /.sbt/0.13/p

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

Reproduce the sbt eclipse generation with a project containing subproject names that use dashes, then inspect the generated .classpath files. Trace where those names are rewritten and verify that the generated Eclipse project can build without manual edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system, tooling
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.