Chapter 6. Using Red Hat JBoss Developer Studio with a booster project

Red Hat JBoss Developer Studio is an integrated development environment, or IDE, that provides tooling for writing software. You can use it to make changes to your booster’s code.

Prerequisites

6.1. Importing your booster code to Red Hat JBoss Developer Studio

Importing your booster’s code creates a project in Red Hat JBoss Developer Studio and enables you to start making changes.

Prerequisites

Procedure

  1. In Developer Studio, Click FileImport.
  2. Choose GitProjects from Git and click Next.
  3. Choose Existing local repository and click Next.
  4. Click Add.
  5. Click Browse.
  6. Navigate to the project folder of your booster and click Open.
  7. Click the check box next to your booster project and click Finish.
  8. Make sure your booster project is selected and click Next.
  9. Select Import as general project and click Next.
  10. Click Finish.
  11. Start editing your project after your import is complete.

6.2. Committing and pushing changes to the GitHub repository of your booster

Red Hat JBoss Developer Studio provides tooling for committing and pushing code through Git directly in the IDE. Alternatively, you can use Red Hat JBoss Developer Studio to make changes and push those changes with the Git CLI.

Prerequisites

  1. All files with changes that you intend to commit are saved.

Procedure

  1. In Developer Studio, right click on the root of the project Project Explorer or Package Explorer view.
  2. Choose TeamCommit…​.
  3. Drag all the changes you want to commit from the Unstaged Changes section to the Staged Changes section.
  4. Enter your commit message and click Commit and Push.
  5. Click Close in the Push Results window when prompted.
  6. Observe your changes are now available in your GitHub repository.