JBoss.orgCommunity Documentation

Chapter 2. JBoss Central and the JBoss Perspective

2.1. Overview of JBoss Central and the JBoss Perspective
2.1.1. About JBoss Central
2.1.2. About the JBoss Perspective
2.2. Features of JBoss Central and the JBoss Perspective
2.2.1. Features Overview
2.2.2. View JBoss Central
2.2.3. Access Project Wizards in JBoss Central
2.2.4. Access Information in JBoss Central
2.2.5. Update Software in JBoss Central
2.2.6. Open the JBoss Perspective
2.2.7. Manage JBoss Perspective
2.2.8. View Cheat Sheets
2.3. Customizing JBoss Central and the JBoss Perspective
2.3.1. Customizing Overview
2.3.2. Change the Behavior of JBoss Central on IDE Start
2.3.3. Customize the Default Tabs, Menus and Toolbars of the JBoss Perspective
2.3.4. Use Project Examples when Working Offline
2.3.5. Set Cheat Sheet Behavior

JBoss Central provides access to wizards for generating projects. There are two types of project wizards available in JBoss Central:

To create a project from one of the wizards, in the JBoss Central tab select the Getting Started page. Click on one of the links below Start from scratch or Start from a sample. Alternatively, click FileNew and select a project from the list. A wizard opens to guide you through the process of creating the project.

Additionally, access is provided to the comprehensive TicketMonster tutorial, part of JBoss Developer Framework, that guides you through developing a complex web application utilizing JBoss technologies from within the IDE. To view the tutorial, in the JBoss Central tab select the Getting Started page and click the Open the Ticket Monster tutorial button. The JBoss Developer Framework website will open in the default browser of the IDE.


JBoss Central enables you to install and update a range of IDE plug-ins. The available plug-ins comprise JBoss and third party plug-ins that have been specifically tested for use with the IDE. These plug-ins include ones for web and mobile development, source control management, testing and Maven.

For all actions listed below, open the JBoss Central tab and select the Software/Update page.

View available software

The available software is listed in the table. To refresh the list of available plug-ins, click the Refresh icon .

View installed plug-ins

Select the Show Installed check box. The installed plug-ins are listed in the table as disabled.


Install available software

In the Find field, type the name of the software or scroll through the list to locate it. Select the check box corresponding to the software you want to install and click Install or click the Install icon .


In the Install wizard, ensure the check boxes are selected for the software you want to install and click Next.


Review the details of the items listed for install and click Next. After reading and agreeing to the license(s), click I accept the terms of the license agreement(s) and click Finish. The Installing Software window opens and reports the progress of the installation.

During the installation process you may receive warnings about installing unsigned content. If this is the case, check the details of the content and if satisfied click OK to continue with the installation.


Once installing is complete, you are prompted to restart the IDE. Click Yes to restart now and No if you need to save any unsaved changes to open projects. Note that changes do not take effect until the IDE is restarted.

Check for software updates

Click the Check for Updates icon . The Contacting Software Sites window opens and reports the progress of checking. Once checking is complete, a prompt informs you of any new software found. Click OK to close the prompt.


You can customize the menus and toolbars displayed by the JBoss perspective, as with any perspective.

To customize the JBoss perspective, ensure it is the current perspective and click WindowCustomize Perspective. In the Tool Bar Visibility tab, select or clear the check boxes corresponding to the individual toolbars and icons visible in the global toolbar of the JBoss perspective as appropriate. In the Menu Visibility tab, select or clear the check boxes corresponding to the menus and menu items visible in the JBoss perspective as appropriate. Disabled items in the Tool Bar Visibility or Menu Visibility tab can be activated in the Command Groups Availability tab. Click OK to close the window.



You can reorder the individual toolbars comprising the global toolbar in the JBoss perspective. To reorder, click the vertical line indicating the beginning of a toolbar and drag the toolbar to its new location in the global toolbar.


Additionally, you can customize which tabs are part of the JBoss perspective. To customize the tabs, ensure the JBoss perspective is the current perspective. Open or close tabs as desired and click WindowSave Perspective As. From the Existing Perspectives list, select JBoss and click OK. At the prompt asking if you want to overwrite the existing JBoss perspective, click Yes.


To revert all customization of the JBoss perspective, ensure it is the current perspective and click WindowReset Perspective. At the prompt asking if you want to reset the JBoss perspective to its saved state, select the Also discard perspective's customization check box and click Yes.


When a project wizard in JBoss Central is used, the IDE searches online respositories for the most recent versions of project dependencies. JBoss Central provides a feature that enables you to create a cache of the necessary project dependencies when you are online so that you can still use the project wizards offline. As detailed below, this is achieved by first creating the cache and then informing the IDE to use that cache.

Important

Maven must be correctly configured for all of the project wizards before the cache script is run. Red Hat JBoss Enterprise Application Platform and Red Hat JBoss Web Framework Kit Maven repositories must be specified in settings.xml.

To create the cache, click WindowPreferences. Expand JBoss ToolsProject Examples and select Offline Support. To run the cache generating script, click Copy to Clipboard and paste the selected text on a command line outside the IDE. The script will download and build all of the project examples in a new directory offline. The script may take some time to complete.

Once the cache is generated, copy offline/.jbosstools/cache to the directory where you want to keep the project examples. Copy the contents of offline/.m2/repository to your local maven repository.

To inform the IDE to use the cache for the project example wizards, click WindowPreferences. Expand JBoss ToolsProject Examples and select Offline Support. Select the Enable offline mode for project examples check box. Ensure the correct cache location is specified in the Offline directory field. Click Apply and click OK to close the Preferences window.