18.5. Selecting a Runtime for JBoss Rules Projects

Procedure 18.2. Task

  1. Use the New JBoss Rules Project wizard to create a new JBoss Rules Project.
  2. Alternatively, convert an existing Java project to a JBoss Rules project using the action by right-clicking on a Java object then clicking the Convert to JBoss Rules Project dialogue. The plugin will automatically add all the required jars to the classpath of your project.
  3. Optionally, on the last page of the New JBoss Rules Project wizard you can choose to have a project-specific runtime. Uncheck the Use default JBoss Rules runtime checkbox and select the appropriate runtime in the drop-down box.
  4. To access the preferences and add runtimes, go to the workspace preferences and click Configure workspace settings ....
  5. You can change the runtime of a JBoss Rules project at any time by opening the project properties and selecting the JBoss Rules category. Mark the Enable project specific settings checkbox and select the appropriate runtime from the drop-down box.
  6. Click the Configure workspace settings ... link. This opens the workspace preferences showing the currently installed runtimes. Use the menu to add new runtimes in this space. If you deselect the Enable project specific settings checkbox, it will use the default runtime as defined in your global preferences.