...
Eclipse is a popular IDE that is used by many committers to develop Java code. Eclipse project files (.project
and .classpath
) have been created and checked into the repository. You should use the latest Eclipse version, or at least a version that supports JDK N-1 (for OpenJFX N) after patching (see below on patching).
It's recommended that location of the local git repository not be inside the Eclipse workspace directory.
OpenJFX is built using Gradle, which uses the javac compiler (even when run through Eclipse), and uses the Gradle wrapper to specify its current version. Various tasks, such as testing, are also configured through Gradle. However, you can still use Eclipse's compiler (ECJ) to take advantage of its speed as an incremental compiler, and of Eclipse's faster unit tests runner. Gradle is mandatory for the following phases:
...
What this process does is add the Gradle nature and build command to the .project files. This means that these files are now different than the ones in the repo. Additionally, the .settings folder for each project will contain a Buildship pref file. You will need to resolve the conflicts with the upstream repo.
Using EGit (TODO this section)
It's recommended that location of the local git repository not be inside the Eclipse workspace directory.
Configure Eclipse to use the latest JDK
...