Chapter 19. Setting Up Eclipse and Red Hat Web Application Framework

This document describes how to set up a Red Hat Web Application Framework development and debugging environment within Eclipse, an open-source IDE.

Installation

Install Red Hat Web Application Framework

Install Red Hat Web Application Framework as you normally would using the RPM's and Red Hat Web Application Framework Autobuild system.

Install Eclipse

You may obtain Eclipse from http://eclipse.org or as a Red Hat RPM.

You may also want to consider using at least Red Hat 8.0 with the Eclipse GTK build as this will allow you to use anti-aliased fonts within Eclipse.

You should also install the Perforce, Resin, and JavaCC plugins for Eclipse, which you can respectively find at:

To install the Perforce and Resin plugins, use the Eclipse Update Manager by selecting Help -> Software Updates -> Update Manager. Next, add bookmarks for the download URL's listed by the plugins' Web sites. The Update Manager can then automatically download and install the Perforce and Resin plugins.

To install the JavaCC plugin, download the plugin and unzip it in Eclipse's plugin directory. Then, follow the instructions in the plugin's README file.

Install Resin

Install the latest version of the application server, Resin. You may download Resin at http://caucho.com website. You may also want to download the source code for Resin in order to trace through its code when debugging.