Don't assume default project settings
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 712
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
When trying to run eclipse on a build that has a non-standard project, I get the following errors:
[error] Could not create Eclipse project files:
[error] Undefined setting 'name'!
[error] Undefined setting 'unmanaged-source-directories'!
[error] Undefined setting 'class-directory'!
[error]
[error]
[error]
[error] Undefined setting 'unmanaged-source-directories'!
[error] Undefined setting 'class-directory'!
[error]
[error]
[error]
[error] Undefined task 'external-dependency-classpath' for 'dist'!
[error] Undefined task 'update' for 'dist'!
[error] Undefined task 'update-classifiers' for 'dist'!
[error] Undefined task 'external-dependency-classpath' for 'dist'!
[error] Undefined task 'update' for 'dist'!
[error] Undefined task 'update-classifiers' for 'dist'!
This project is not meant to have update, external-dependency-classpath or even name. It doesn't compile class files. As such, it doesn't need eclipse settings files, it can just be ignored. It'd be ideal if the plugin allowed such projects to exist without negating the generation of settings for others.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the eclipse command and reproduce the reported undefined settings and tasks for a non-standard project. Trace how Eclipse project definitions are generated, then verify that projects without name, class files, or the listed tasks are ignored while settings for other projects are still generated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100