sbt / sbt/sbt-eclipse

Problem with classpath dependencies with dependsOn

Open
#292 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

I don't know if it's an issue related to ScalaIDE or sbt eclipse, but when I import the generated project into eclipse, in project that have dependencies (projectx-server) i can't see the class of core project (projectx-core)

lazy val root = (project in file(".")).
  aggregate(util, core)

lazy val server = Project(id = "projectx-server", base = file("projectx-server"))
.dependsOn(core)

lazy val core = Project(id = "projectx-core", base = file("projectx-core"))

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 issue by generating the Eclipse project definitions for the shown sbt multi-project build and importing them into Eclipse. Compare the classpath for projectx-server with its dependsOn(core) declaration; done means classes from projectx-core are visible from projectx-server.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.