9.7. Creating a Drools Project
Procedure 9.7. Creating a New Red Hat JBoss Developer Studio Project
- From the main menu, select File → New → Project.Select Drools → Drools Project and click Next.
- Enter a name for the project into the Project name: text box and click Next.
Note
JBoss Developer Studio provides the option to add a sample HelloWorld Rule file to the project. Accept this default by clicking Next to test the sample project in the following steps. - Select the Drools runtime (or use the default).
- Select code compatible with Drools 6.0.x. Enter a GroupID, an ArtifactID, and Version, and click Finish.
- To test the project, right click the Java file that contains the main method and select Run → run as → Java Application.The output will be displayed on the console tab.