How to run a JBoss Forge Script

Running a JBoss Forge script is an handy feature to create quickly an application starting from a script file. All you have to do is starting Forge and run the script file as follows:

run <scriptname>

As an example, pickup the following script from the quickstarts:

Run this file from the Forge console using the run command:

 $ run generate.fsh

At this point, Forge creates the new project and builds it.

Follow us on Twitter