This might be controversial. I am proposing to remove the Gradle integration in the Eclipse config files.
Problem
=======
Eclipse Gradle integration (Buildship) cannot import the OpenJFX build.gradle cleanly. Every time the project is imported into a new workspace (or re-opened after being closed) it executes Gradle, creates and modifies a number of Eclipse .project and .classpath files, all of which need to be reverted for Eclipse workspace to become usable again.
Solution
======
Remove Gradle nature from the Eclipse project files. This change only affects Eclipse config files and does not impact build.gradle or other IDEs.
Advantages
=========
1. The multiple nested projects in the repo will get imported cleanly on the first attempt, will not require additional steps to clear the Buildship changes.
2. completely removes the dependency on the Eclipse Buildship and its idiosyncrasies.
NOTES:
- even though the reverse was done for IntelliJ, but its gradle import still does not import tests cleanly, seeJDK-8223373
- this improvement contradicts JDK-8223374 as without Eclipse files in the repo, it will be impossible to use Eclipse in a meaningful way without the fully functional Buildship support, and that is a big IF.
Problem
=======
Eclipse Gradle integration (Buildship) cannot import the OpenJFX build.gradle cleanly. Every time the project is imported into a new workspace (or re-opened after being closed) it executes Gradle, creates and modifies a number of Eclipse .project and .classpath files, all of which need to be reverted for Eclipse workspace to become usable again.
Solution
======
Remove Gradle nature from the Eclipse project files. This change only affects Eclipse config files and does not impact build.gradle or other IDEs.
Advantages
=========
1. The multiple nested projects in the repo will get imported cleanly on the first attempt, will not require additional steps to clear the Buildship changes.
2. completely removes the dependency on the Eclipse Buildship and its idiosyncrasies.
NOTES:
- even though the reverse was done for IntelliJ, but its gradle import still does not import tests cleanly, see
- this improvement contradicts JDK-8223374 as without Eclipse files in the repo, it will be impossible to use Eclipse in a meaningful way without the fully functional Buildship support, and that is a big IF.
- relates to
-
JDK-8223374 Remove Eclipse specific files from the source code repository
-
- Open
-
-
JDK-8223373 Remove IntelliJ IDEA specific files from the source code repository
-
- Resolved
-
-
JDK-8223375 Remove Netbeans specific files from the source code repository
-
- Resolved
-
- links to
-
Commit(master) openjdk/jfx/0ce4e6f9
-
Review(master) openjdk/jfx/1491