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:
Code Block | ||||
---|---|---|---|---|
| ||||
$ 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/
directory for storing the configuration files - Check out the whole tree for the config files
Code Block bash bash $ cd /opt/LOUI $ svn checkout svn://jumar.lowell.edu/LOUI_Configuration/trunk/dev .
- Edit the jndi.properties file in /opt/LOUI/nasa42 to point to the right machine and right broker.
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, or use the eclipse's Team Project Set.
The easiest and fastest way to build the workspace is to use Team Project Sets.