-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
What happened
My assumption is that it should be possible to import the Nessie repo into the Eclipse IDE? While this IDE is not as popular as it once was, Nessie does specifically use the Eclipse plugin.
Importing the source of the latest release fails with an error:
Description Resource Path Location Type
Path for project must have only one segment but has 2: /Nessie 0.104.4 [in ../nessie-nessie-0.104.4] nessie-nessie-0.104.4 line 0 Gradle Problem
Importing the source from git returns:
Description Resource Path Location Type
Project at '/path/to/Nessie' can't be named 'Nessie 0.104.4 [in ../Nessie]' because it's located directly under the workspace root. If such a project is renamed, Eclipse would move the container directory. To resolve this problem, move the project out of the workspace root or configure it to have the name 'Nessie'. Nessie line 0 Gradle Problem
Eclipse is very sensitive to folder naming. Commenting out this line in build-logic/src/main/kotlin/nessie-conventions-root.gradle.kts
resolves the problem.
eclipse { project { name = ideName } }
However I'm not sure if this is the preferred solution?
How to reproduce it
- Extract the downloaded Nessie tarball or clone the git repo
- Comment the eclipse project name line in
build-logic/src/main/kotlin/nessie-conventions-root.gradle.kts
listed above. - Import the project via File -> Gradle -> Existing Gradle Project
- Observe that the import fails
Nessie server type (docker/uber-jar/built from source) and version
N/A
Client type (Ex: UI/Spark/pynessie ...) and version
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels