Setting up your Faban Development Environment using the NetBeans® IDE

Integrated Development Environments (IDE) are getting increased popularity in the Java developer community. Whether you want to develop a new Faban benchmark or integrate an existing benchmark by developing harness hooks, likely you'll want to use your favorite IDE for such development tasks. Instead of developing everything from scratch, the Faban server and bundle distributions provide sample code and projects that are very suitable to be used as templates for your new project. It also contains standard build scripts to help you build and test your project even better.

This document describes how you would set up the NetBeans IDE to work with projects following the Faban template.

1. Download and Install NetBeans IDE

This process is documented from NetBeans 5.0 and NetBeans 5.5. However, it may as well work with other versions of NetBeans.

We'll refer to the NetBeans installation directory as $NETBEANS_HOME.

2. Download and install the Faban server or bundle distribution

We will refer to the Faban installation directory as $FABAN_HOME from now on.

3. Create your Faban project

The sample project contains the project structure you'll want to use  to develop a Faban benchmark. It also includes build scripts that should be appropriate for the majority of Faban projects. Use the following steps to copy the sample project and create your own project.

   We'll refer to your project directory (such as myfabanproject) as $PROJECT_HOME.

4. Start NetBeans

Use the launcher in your GUI or start Netbeans from the command line:

        $ $NETBEANS_HOME/bin/netbeans &

It might take a few seconds or a few minutes to startup Netbeans, depending on the system you're running on. But finally the Netbeans UI should show up on your desktop.

5. Configure Netbeans to know the Faban library

6. Create a new project in NetBeans

7. Configuring you new NetBeans project

8. Configure your file