InfoGrid is currently being developed using NetBeans. We considered Eclipse, but could not figure out how to reliably make the InfoGrid CodeGenerator and the Eclipse build system get along. (Volunteers?)
All NetBeans versions 6 or higher should work. We currently use NetBeans 7.0.1. If you do not use that version, you may have to re-generate some of NetBeans' auto-generated build files.
It works best if you create yourself a NetBeans "Project Group", and assign the web apps to your local Tomcat install.
Here is one way to do this:
- Start NB
- Navigate to File->Project Group->New Group
- Give it some name
- Select "Folder of projects"
- Navigate to ~/svn/svn.infogrid.org/infogrid/trunk (assuming you have followed the recommended convention)
- Create Group - and wait a bit, NetBeans seems like it's doing nothing but it's thinking quite hard
- Skip past the regeneration messages, but resolve the libraries (see below)
- Ensure that the following projects are assigned in their property setting to run on Tomcat: org.infogrid.jee.net.testapp, org.infogrid.meshworld, org.infogrid.meshworld.net
To be successful using InfoGrid in NetBeans, you need to set up the following library definitions in NetBeans, where:
- <SVN-INFOGRID> represents the root of your InfoGrid Subversion tree, such as /home/joe/svn/svn.infogrid.org/infogrid.
- <NETBEANS> represents the NetBeans installation directory, such as /Applications/NetBeans/NetBeans 6.9.1.app/Contents/Resources/NetBeans
|Name of library||Path|