Using Struts Console Inside Eclipse


Using Struts Console Inside Borland JBuilder

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-5.0) 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 

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

image from book
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.

image from book

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



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

Similar book on Amazon
Struts 2 in Action
Struts 2 in Action
Murach's Java Servlets and JSP, 2nd Edition
Murach's Java Servlets and JSP, 2nd Edition
Jakarta Struts For Dummies
Jakarta Struts For Dummies
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam

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