Building ECT from SourceForge CVS

Created by Chris Greenhalgh
Most recent update by Stefan Rennick Egglestone 2005-11-15

Checking out the source code
Compiling source code
Running ECT

Checking out the source code

ECT is currently hosted using CVS facilities provided by SourceForge. For instructions on how to check out modules from the EQUIP project at SourceForge, click here. The name of the module containing ECT within EQUIP project CVS is ect.

Compiling source code

To compile ECT, you will need to install:

For the physical configuration manager you will also need to install:

Open a commmand shell and set your environment for using Ant and Java, e.g. set ANT_HOME to the directory in which ant is installed, set JAVA_HOME to the directory in which java is install and set PATH to include the /bin subdirectories of each. In some cases you may need to overrider the default CLASSPATH, e.g. with just ".". For example:

set ANT_HOME=C:\ant\apache-ant-1.6.0
set JAVA_HOME=C:\j2sdk1.4.2_08
set PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin;%PATH%
set CLASSPATH=.

To build from source, move to the ect/java sudirectory and run ant using the command line

> ant

This should create a webstart installation in the webstart directory, and individual scripts and resources for independent use in the install directory.

Running ECT

See other documentation for more details on how to run ECT, but to quickly get started in running the graph editor, move to the webstart directory and, on a Windows machine, run the runwebstart.bat batch fil using command line

> runwebstart

Scripts also exist in this directory for unix machines.