Using Struts Console Inside Borland JBuilder

 < Day Day Up > 



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:

  1. Shut down JBuilder if it is currently running.

  2. Navigate to the directory in which you have JBuilder installed (e.g., c:\Program Files\JBuilder) and then navigate into the lib directory.

  3. In another window, navigate to the directory in which you installed Struts Console (e.g., c:\java\struts-console-4.4) and then navigate into the com.jamesholmes.console.struts directory and then into the lib directory.

  4. 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.

    Note 

    This step should only be necessary for JBuilder version 4.

  5. Navigate into the ext directory (e.g., c:\Program Files\JBuilder\lib\ext) from the JBuilder lib directory.

  6. 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.

click to expand
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 following illustration shows the Struts Console IDE Options dialog box.

click to expand

For more information on these configuration settings, see the 'Configuring the Struts Console Output Options' section later in this appendix.



 < Day Day Up > 



Struts. The Complete Reference
Struts: The Complete Reference, 2nd Edition
ISBN: 0072263865
EAN: 2147483647
Year: 2003
Pages: 134
Authors: James Holmes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net