JBoss.orgCommunity Documentation

Chapter 5. JBoss Web Services and the development environment

5.1. Preferences
5.2. Default Server and Runtime

In this chapter you will learn how to change preferences and set the default server runtime.

In this section you will know how JBoss Web Services preferences can be modified during the development process.

To navigate to the preferences page click on WindowPreferencesJBoss ToolsWeb ServicesJBossWS Preferences

On this page you can manage the JBoss Web Services Runtime. Use the appropriate buttons to Add more runtimes or to Remove those that are not needed.

Clicking on the Add or Edit button will open the form where you can configure a new JBossWS runtime and change the JBossWS runtime path and modify the name and version of the existing JBossWS runtime settings. Click Finish to apply the changes.

WS container allows Source and Javadoc locations to be set via the Properties dialog on each contained JAR: right-click on any JAR file in the Project Explorer view, select Properties. Choose Java Source Attachment and select the location (folder, JAR or ZIP) containing new source for the chosen JAR using one of the suggested options (workspace, external folder or file), or enter the path manually.

Click on Apply and then on OK.

To change the Javadoc location choose Javadoc Location and specify URL to the documentation generated by Javadoc. The Javadoc location will contain a file called package-list.

Click on Apply and then OK.

Open WindowPreferencesWeb ServicesServer and Runtime. On this page, you can specify a default server and runtime.

After the server and runtime are specified, click on the Apply button to save the values.