dev@grizzly.java.net

Netbeans IDE 5.5 with mevenide

From: Adam Duston <aduston_at_gmail.com>
Date: Sat, 15 Sep 2007 20:05:56 -0500

Jean-Francois,

When coding in Java I am an Eclipse user but, for the first time
today, I installed NetBeans and compiled Grizzly with the mevenide
plugin. Since I recorded my steps along the way, I think I may have
inadvertently won myself a t-shirt. Uh, i should mention that the
instructions are pretty brief, so maybe I omitted something.

At any rate, I notice that the tutorials on java.net have a particular
style, e.g. https://grizzly.dev.java.net/tutorials/findBugs-nb-tutorial/index.html
. When I submit my tutorial, should I format it any way? Should I use
the CSS from java.net and submit it in HTML format?

Thanks,
Adam

p.s. Here are the steps I recorded:

1. Install Netbeans. On Ubuntu, this is totally easy: just install the
Netbeans package. You will have to download the .tgz file from
netbeans.org; just read the instructions that come with the package.

2. In NetBeans, go to Tools->Update Center, hit Next, and install the
Subversion plugin.

3. Go to Subversion->Checkout, then enter the Grizzly svn URL:
https://grizzly.dev.java.net/svn/grizzly/trunk . You'll need a
username/password to access svn, of course; just register at
dev.java.net. Unlike Subclipse, you won't know how far the svn
checkout has gotten at any point in time because there is no progress
bar. Sorry about that!

4. When I got to this point, I hadn't yet installed the mevenide
plugin for Netbeans. Had I installed it, it is possible that the
Grizzly Project would have opened. But, since it wasn't installed, the
only Grizzly module that is packaged as a Netbeans project --
grizzlypex -- opened. If only grizzlypex opens for you, then just
close this project.

5. Follow these instructions to install the mevenide:
http://mevenide.codehaus.org/m2-site/mevenide2-netbeans/installation.html
. Note: do *NOT* use the .zip file install; it will install an old
version. Instead follow the instructions under "Install using the
Netbeans Update Center".

6. Now you should be able to open the trunk folder as a project in the
Netbeans IDE. Just choose File->Open Project... and then select the
trunk folder. This will open all the Grizzly modules as maven projects
in the IDE, with "Grizzly Project" in bold. To build, simply
right-click on "Grizzly Project" and choose "Build". Voila!


-- 
aduston_at_uchicago.edu
312-375-9879