sbt / sbt/sbt-eclipse

Generate project files for a single subproject only

Open
#157 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We have a build with a large number of subprojects (~30) and running sbt eclipse can take a substantial amount of time (most of it due to dependency resolution). It would be nice to have the capability in sbt eclipse to only (re)generate project files for a single subproject at a time. One possibility would be for the eclipse command by default to only generate files for the currently-selected project by default. If in the root project of the build, it would continue to generate project files for all subprojects, as it currently does. Another option would be to control this behavior with an argument passed to the "eclipse" command.

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 by locating the implementation and command entry point for sbt eclipse. Compare how the currently selected project and the root project are represented, then determine how a command argument could select one subproject. Done means eclipse can regenerate only the selected subproject while preserving all-project generation from the root project.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.