Execution Groups

Environment:

I use Eclipse JBoss IDE with subclipse for my SVN management. For the SVN information on this project go here. The cerbergrid project root is located at http://cerbergrid.svn.sourceforge.net/svnroot/cerbergrid/project/cerbergrid. Unfortunately subclipse in eclipse did not allow me to make the root of the project http://cerbergrid.svn.sourceforge.net/svnroot/cerbergrid hence the extra project/cerbergrid.

The cerbergrid eclipse project has a subproject for the webui. The key here is to right click in the Package Explorer -> Import -> Existing Projects Into Workspace -> Browse ECLIPSE_HOME/workspace/cerbergrid/webui -> Ok -> Finish. Now you will have two distinct projects in the Package Explorer view although they are both under the same folder on the file system.

Running the Node and Controller

in ECLIPSE_HOME/workspace/cerbergrid execute:
ant run-node OR ant-run-controller

I chose to run the development environments and production environments differently at the moment to have a quicker turn around in dev. In production I handle running the node and controller through ./run.sh node and ./run.sh controller.

Building and running the webui

in ECLIPSE_HOME/workspace/cerbergrid/webui modify build.properties to reflect the location of jboss:

execute: ant restart
This will cause a compile and explode to JBOSS_HOME/server/default/deploy and touch the application.xml to cause a hotdeploy when redeploying.