Struts Console can be run as a plugin inside Borland JBuilder versions 4.0 and later. To do so, you first must install the Struts Console JBuilder plugin. Following is the list of steps for installing the Struts Console JBuilder plugin:
Shut down JBuilder if it is currently running.
Navigate to the directory in which you have JBuilder installed (e.g., c:\Program Files\JBuilder) and then navigate into the lib directory.
In another window, navigate to the directory in which you installed Struts Console (e.g., c:\java\struts-console-5.0) and then navigate into the com.jamesholmes.console.struts directory and then into the lib directory.
Copy the xerces.jar file from the Struts Console lib directory (e.g., c:\java\struts-console-4.4\lib) into the JBuilder lib directory (e.g., c:\Program Files\JBuilder\lib), if and only if xerces.jar does not already exist in the JBuilder lib directory.
Step 4 should only be necessary for JBuilder version 4.
Navigate into the ext directory (e.g., c:\Program Files\JBuilder\lib\ext) from the JBuilder lib directory.
Copy the struts-console.jar file from the Struts Console lib directory into the JBuilder ext directory.
After you have installed the Struts Console JBuilder plugin, you must restart JBuilder.
Once JBuilder is running, to use Struts Console, simply open a valid configuration file supported by Struts Console. Struts Console will be a tab option for the file, as shown in Figure A-2. You can edit the configuration file using Struts Console, or you can edit the file by hand from the Source tab. Changes made in either tab are automatically reflected in the other tab.
Figure A-2: Struts Console inside JBuilder
Struts Console also allows you to modify some of its configuration settings from inside JBuilder. To access the Struts Console configuration settings, select Tools | IDE Options. The illustration to the right shows the Struts Console IDE Options dialog box.
For more information on these configuration settings, see the section "Configuring the Struts Console Output Options" later in this appendix.