Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
6.4. Importing Projects from a Git Repository into JBoss Developer Studio
JBoss Developer Studio can be configured to connect to a central Git asset repository. The repository is the space where versions of rules, models, functions and processes are stored. This Git repository must already be defined by the KIE Workbench.
Users can either clone a remote Git repository or import a local Git repository.
Procedure 6.4. Cloning a Remote Git Repository
- Start the Red Hat JBoss BRMS server (if not already running) by selecting the server from the server tab and click the start icon.
- Simultaneously, start the Secure Shell server, if not running already, by using the following command. The command is Linux and Mac specific only. On these platforms, if sshd has already been started, this command will fail and you may safely ignore this step.
/sbin/service sshd start - In JBoss Developer Studio, select
and navigate to the Git folder. Open the Git folder to select and click . - Select the repository source as and click .
- Enter the details of the Git repository in the next window and click .
Figure 6.1. Git Repository Details
- Select which branch you want to import in the following window and click .
- You will be presented with the option to define the local storage for this project. Enter (or select) a non-empty directory, make any configuration changes and click .
- Import the project as a general project in the following window and click . Name the project and click .
Procedure 6.5. Importing a Local Git Repository
- Start the Red Hat JBoss BRMS server (if not already running) by selecting the server from the server tab and click the start icon.
- In JBoss Developer Studio, select
and navigate to the Git folder. Open the Git folder to select and click . - Select the repository source as and click .
Figure 6.2. Git Repository Details
- Select the repository that is to be configured from the list of available repositories and click .
- In the dialog that opens, select the radio button from the and click . Name the project and click .
Figure 6.3. Wizard for Project Import