Hi,
The "Simple JavaFX Maven Archetype (Gluon)" template from the "New 
Projects->Java with Maven" does not create a resource sub-folder under the src 
subtree, so the developer can store required artifacts (i.e. jpg images,etc.) 
for the project in that folder. If the artifacts placed in the src directory 
with the main and the controller source code, the maven does not copy them to 
the target->classes, hence the developer needs to manually copy these artifacts 
src->main to the "target->classes" after each build, to avoid runtime errors.

In contrast, the "FXML JavaFX Maven Archetype (Gluon)" template always creates 
"Other Sources/src/main/resources/${project.package}" tree structure for the 
artifacts (i.e. fxml, css, images, etc.) and the maven copies them to the 
"target->classes->${package}" sub-folder.

If possible, it would be great if these two templates create a consistent tree 
structure.

Reply via email to