To start, a little background information on Forge for those who are not yet familiar with it.
To get started quickly, follow these simple steps:
* Note: You will also need a Java 6 JRE and Apache Maven to run Forge projects.
That's it, you've now got Forge installed, but what to do next?
There are a few things you should probably check-out. If you are confused at any time, try pressing <TAB>
. For instance, if you have not yet seen the Forge built-in commands, you may either press <TAB>
to see a list of the currently available commands, or get a more descriptive list by using:
list-commands --all
To build a barebones scaffolding project, you can follow these steps:
new-project --named {projectname} --topLevelPackage {com.yourpackage}
install forge.scaffold
new-entity --named Person
new-field string --fieldName firstName
new-field string --fieldName lastName
cd ..
scaffold generate-metawidget-jsf *.java
Now refresh or redeploy your application on JBoss Application Server and visit:
http://localhost:8080/{projectname}/faces/scaffold/person/view.xhtml
Forge is *not* feature-complete, and in fact, many features are still under heavy development; with that said, comments, feedback, and tinkering are more than welcome!
If you would like to get involved in this project, please visit the Forge homepage or visit the #seam-dev IRC channel: freenode.net#seam-dev and ask about "Forge" If you have an idea for a plugin or improvement, and would like to do some "forgestorming", submit it here.
Take a look at the source code to see how simple it is to develop a quick little plugin!
Comments