-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the JRebirth-Forge wiki!
This project is a effort to create a plugin for Forge to work easily with JRebirth JavaFX Framework. This Plugin makes life easy to work with Maven + JavaFX with JRebirth Framework.
This project is a effort to create a plugin for Forge to work easily with JRebirth JavaFX Framework. This Plugin makes life easy to work with Maven + JavaFX with JRebirth Framework.
This project is currently in progress. You may not get full features currenlty.
Stay tuned.
- JDK 7
- JBoss Forge
- IDE that supports Maven (Eclipse, NetBeans, IntelliJ etc.)
- Run the forge
- Type following command in forge shell to install the plugin
forge git-plugin https://github.com/JRebirth/forge-jrebirth-plugin.git
- Some simple flow using the jrebirth new-project --named jrebirthsample jrebirth setup jrebirth ui-create --name Intro jrebirth resource-create --all jrebirth color-add-web --name window_background --hex CCCCCC jrebirth app-config --key developerMode --value true jrebirth app-config --key developerMode jrebirth service-create --name RestCall
JRebirth executible command jrebirth
. Add following sub commands.
-
setup
- Instals basic dependency for JRebirth.(core, JAVA_HOME javafx runtime, slf4j).- Setup also creates jrebirth.properties, MainApp, and resource folders for fonts, images and styles.
-
setup --module presentation
- adds Presentation module to your project
-
ui-create
- Creates Model, View and Controller calsses for given name. Use--name
to provide name.-
--controllerGenerate
- default true - Creates Controller -
--beanGenerate
- default true - Created Bean -
--fxmlGenerate
- default false - Create FXML
-
NOTE: For best practice, above commad creates sub-package and classes inside ui.[name]
or ui.fxml.[name]
package in top level package.
-
command-create
- Creates Command calss 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 Image
-
NOTE: For best practice, above commad 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 to see all the keys you can update. -
--value
- sets value to a key -
--showAll
- default false - flag -Displays all the proeprties 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.
- JRebirth MainSite
- JRebirth Source Repo
- JRebirth MailingList
- Forge
- JRebirth Forge Wiki
- JRebirth Forge Issues
- JRebirth Forge CI
- Sébastien Bordes
- Rajmahendra Hegde
- Guruprasad Shenoy
Get more info at : www.jrebirth.org . Copyright JRebirth.org © 2011-2013 Contact : [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.