If you wish to modify or further develop PunCAT, it can be imported into your favourite IDE the same way you would any other Maven project. However, some further configuration may be necessary to get PunCAT to launch from within the IDE. The following sections give a brief overview of what is required for Eclipse and IntelliJ; further details can be found in the JavaFX docs.
- Click File > Import…
- Select Maven > Existing Maven Projects
- Browse to the root directory of the repository
- Click Finish
- Click Run > Run Configurations…
- Select Maven Build, then click on New launch configuration in the upper left corner
- Select the project root folder as the Base directory
- Set Goals to
clean javafx:run
- Click Apply
- Click Open or Import on the welcome screen
- Browse to the root directory of the repository
- Click Run > Edit Configurations…
- Click Maven on the right sidebar
- Browse to PunCAT > Plugins > javafx > javafx:run
- Right click javafx:run and select Create [puncat javafx:run]
- It is probably a good idea to add the goal
clean
to the very beginning of the Command line field - Click OK