Questo contenuto non è disponibile nella lingua selezionata.

Chapter 5. JBoss Rules IDE Features


The JBDS' JBoss Rules plug-in provides a few additional features that some business developers may find interesting. Read this chapter to learn about them.

5.1. JBoss Rules Run-times

A JBoss Rules run-time is a collection of JAR files that represent one specific release of the JBoss Rules project JARs. To create a run-time, you must point the IDE to the release of your choice.

Note

You can create a new run-time based on the latest JBoss Rules project JARs which come included with the plug-in itself.

Note

You are required to specify a default JBoss Rules run-time for your workspace, but each individual project can override the default and select the run-time most appropriate for it.

5.1.1. Defining a JBoss Rules Run-time

Follow these instructions to define one or more JBoss Rules run-times:
go to the Window menu
selecting the Preferences menu item
a Preferences dialogue box, containing all of your settings, appears
on the left-hand side of this dialogue box, under the JBoss Rules category, select Installed JBoss Rules run-times. The panel on the right will then update to display all of your currently-defined run-times.
to define a new run-time, click on the add button. A dialogue box will appear.
input the name of your runtime and the path to its location on your file system.
In general, you have two options:
  1. if you simply want to use the default JAR files as included with the JBoss Rules plug-in, just click the Create a new JBoss Rules 5 run-time... button.
    A file browser will appear, asking you to select the directory in which you want this run-time to be created. The plug-in will then automatically copy every required dependency into this directory.
  2. if you want to use one specific release of the JBoss Rules project, you should create a directory on your file system that contains all of the required libraries and dependencies. Instead of creating a new JBoss Rules run-time as explained above, give your run-time a name and then select the directory that you just created, containing all of the required JARs.
after clicking the OK button, your newly-created run-time will appear in the right-hand panel alongside all the others.
click on check box in front of the newly-created run-time to make it the default . It will now be used as the run-time for all of your future JBoss Rules project (unless you select a project-specific one.)

Note

You can add as many JBoss Rules run-times as you need.

Important

You will need to restart the IDE if you changed the default run-time. This will ensure that all of your projects will use it. Their class-paths will update automatically.

5.1.2. Selecting a Run-time for Your JBoss Rules project

Whenever you create a JBoss Rules project (by using the New JBoss Rules Project wizard or by converting an existing Java project into a JBoss Rules project using the Convert to JBoss Rules Project command), the plug-in will automatically add all of the JARs it needs to your project's class-path.
The default run-time will be used unless you specify otherwise when you are creating it. However, you can change the run-time at any time. To do so, follow these steps:
open the project's properties,
select the JBoss Rules category,
tick the Enable project specific settings check box
select the run-time you desire from the drop-down list.

Note

If you click the Configure workspace settings... link, the preferences will display, showing you the currently installed JBoss Rules run-times. You can add new run-times from this screen.

Note

If you de-select the Enable project specific settings check box, the default run-time will be used.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima