...
- Go to
File -> Import -> General -> Existing Projects into Workspace.
- Set the root directory to the base repository path (/
rt
by default). - Check
Search for nested projects.
- The projects under
rt\apps\scenebuilder
could be skipped as they are planned to be removed. - Optionally, you might find it convenient to work with Working Sets.
...
Run Sample Code (NOTE: old)
Using Gradle
Eclipse has gradle Gradle support via Eclipse Buildship. Use the latest Buildship version as the gradle Gradle version used in OpenJFX updates from time to time. OpenJFX uses the gradle Gradle wrapper.
The project structure for gradle Gradle is such that the root directory (/rt
) contains the parent project with all other projects being its children. The Gradle Tasks view will allow you to execute the tasks that you would use Cygwin for otherwise.
NOTE: this process will override the projects' configuration and will cause them to not work anymore. However, since we are inside a mercurial repository, we can revert the breaking changes and keep the gradle Gradle settings. This will allow us to work with both Eclipse and gradleGradle.
- Install Buildship.
- Go to
File -> Import -> Gradle -> Existing Gradle Projects.
- Set the root directory to the base repository path (/
rt
by default). Finish and wait for the workspace to rebuild. This will result in many compilation errors.
Revert all .classpath files (and clean and rebuild if it does not happen automatically - this will some take time). There should be no compilation errors.
What this process does is add the gralde Gralde 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, e.g., via hg ignore
or hg forget
.
...