LOUI development is best done in with the eclipse IDE. Java 5 and eclipse 3.5 are the minimum acceptable versions for development. It is required to download the full Eclipse SDK (e.g. eclipse-SDK-3.5.2-macosx-cocoa-x86_64.tar.gz) from the eclipse download site. If one wants to create products for multiple platforms, downloading the eclipse Delta Pack and setting up a "Target Platform" would also be required.
Each required plugin which is not part of the standard eclipse SDK is in the source repository as its own project. Current list of required projects for one of the LOUIs, e.g. NASA42, is:
- com.richclientgui.rcptoolbox
- edu.lowell.loui.common
- edu.lowell.lig.common
- edu.lowell.lig.jms
- edu.lowell.loui.imager
- groovy
- org.apache.activemq
- org.apache.commons.beanutils
- org.apache.commons.codec
- org.apache.commons.collection
- org.apache.commons.configuration
- org.apache.commons.digester
- org.apache.commons.jxpath
- org.apache.commons.lang
- org.apache.commons.logging
- org.apache.commons.math
- org.apache.log4j
- org.jfreechart.swt.libs
- org.simpleframework.xml
The repository is subversion and it is on jumar. The connection url is svn://jumar.lowell.edu
.
Example checkout syntax from command line:
$ svn checkout svn://jumar.lowel.edu/edu.lowell.loui.nasa42/trunk edu.lowell.loui.nasa42
Create a new workspace and do the above checkouts and then do the following:
- Create /opt/LOUI/nasa42 directory
- Create the following symlinks in the above directory:
$ ln -s $NASA42_WORKSPACE/edu.lowell.loui.nasa42/external/instrumentConfiguration.xml instrumentConfiguration.xml $ ln -s $NASA42_WORKSPACE/edu.lowell.loui.nasa42/external/jndi.properties jndi.properties
- Edit the jndi.properties file to point to the right machine and right broker. Peter has the most recent info on these.
One can either do the checkouts individually using an eclipse subversion plugin, such as subclipse, or use a shell script to do all the checkouts in one operation. The better way to build the workspace is to use Team Project Sets.