- Loading...
...
File -> Import -> General -> Existing Projects into Workspace.
rt
by default).Search for nested projects.
...
Create a new Java project and add a module-info.java
that requires the needed modules. For example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
module zTest { requires javafx.base; requires javafx.graphics; requires javafx.controls; exports zTest; } |
...
If when running you receive warnning about missing packages or modules, edit the run configuration by going to its Dependencies -> Override Dependencies
, then delete the launch dependencies and Override
.
...
What this process does is add the 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
.
...