#[[
Legacy: This page documents the historical JBoss Forge plugin for JRebirth. Prefer the Maven archetype tutorial or cloning the sample module for new projects. The Forge plugin is no longer actively maintained for Java 25 / AF 12.
This project was an effort to create a plugin for Forge to work easily with JRebirth JavaFX Framework. It made scaffolding Maven + JavaFX + JRebirth projects easier from a Forge shell.
forge git-plugin https://github.com/JRebirth/forge-jrebirth-plugin.gitJRebirth executable command jrebirth. Add following sub commands.
setup - Installs basic dependency for JRebirth.(core, JAVA_HOME javafx runtime, slf4j).
setup --module presentation - adds Presentation module to your projectui-create - Creates Model, View and Controller classes for given name. Use --name to provide name.
--controllerGenerate - default true - Creates Controller
--beanGenerate - default true - Created Bean
--fxmlGenerate - default false - Create FXMLNOTE: For best practice, above command creates sub-package and classes inside ui.[name] or ui.fxml.[name] package in top level package.
command-create - Creates Command class for given name. Use --name to provide name.service-create - Creates Service class for given name. Use --name to provide name.resource-create - Creates Resource class for given name. Use --name to provide name.
--all - default true - Creates all resource for the application.--colorGenerate - default false - flag - Creates Color--fontGenerate - default false - flag - Creates Font--imageGenerate - default false - flag -Creates ImageNOTE: For best practice, above command creates the classes inside command, service or resource package in top level package.
color-add-web - Creates a constant in Color resource interface using colorname/value
--name - Color constant name
--hex - Color indicated by hexa decimal value
app-config - updates the jrebirth.properties file
--key - use *tab* to see all the keys you can update.--value - sets value to a key--showAll - default false - flag -Displays all the properties value of the app.NOTE: If you provide only the key then it will display the value of the key. If key is new it sets a new key.
]]#