AlmasB / FXGLGames

This repo contains sample games built with FXGL
http://almasb.github.io/FXGLGames/
MIT License
807 stars 325 forks source link

Append module name before main class e.g. <module-name>/<main-class> #17

Closed chengenzhao closed 3 years ago

chengenzhao commented 3 years ago

Because the whole project is modularized thus if we don't append module name before main class for the gluon plugin it will warn the developers that

Module name not found in <mainClass>. Module name will be assumed from module-info.java

So we add module name before main class to remove this warning the whole java command is like

java --module geowars/com.almasb.fxglgames.geowars.GeoWarsApp

and also may need to add module path

java --module-path . --module geowars/com.almasb.fxglgames.geowars.GeoWarsApp