fxldemo
fxldemo copied to clipboard
FXLauncher demo application
// Boat.java public class Boat { private final String name; private boolean sailPosition; private int speed; public Boat(String name) { this.name = name; this.sailPosition = false; this.speed = 0; }...
`mvn clean package` gives bunch of javafx related errors: `package javafx.application does not exist` `package javafx.event does not exist` ...
I use MacOS and when run mvn clean package receive following error > Caused by: java.nio.file.NoSuchFileException: --cache-dir=USERLIB/FxlDemo at sun.nio.fs.UnixException.translateToIOException (UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:107) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes (UnixFileAttributeViews.java:55) at...
I created a whatsnew.html and placed in src/main/resources folder I added in pom.xml : ``` org.codehaus.mojo exec-maven-plugin 1.4.0 copy-whatsnewfile package exec jar ${app.dir} uf fxlauncher.jar -C ${project.basedir}/src/main/resources whatsnew.html ... ```...