Building org.lcsim software
To build the org.lcsim software you first need to have the following installed.
- Java JDK 1.5 (aka 5.0) (from http://java.sun.com/j2se/1.5.0/download.jsp)
- Maven (from http://maven.apache.org)
- cvs
SLAC Unix
These tools are all pre-installed on SLAC unix. Just issue the command:
setenv JAVAVER 1.5
to make sure you get Java 1.5
The lcsim software consists of two packages, the geometry package, and the analysis and reconstruction package. You must obtain and build the geometry package first, since the analysis package depends on it.
Here are condensed instructions:
setenv CVSROOT :pserver:anonymous@cvs.freehep.org:/cvs/lcd cvs login (just hit enter when promted for password) cvs co GeomConverter cvs co lcsim cd GeomConverter maven cd ../lcsim maven
Testing the installation
Note that, by default, maven will also run the JUnit tests associated with this distribution.
Test reports are written to
target/test-reports/
If you wish to build without testing, issue the following command, but do this at your own risk:
maven -Dmaven.test.skip=true
To execute a single test case:
maven test:single -Dtestcase=org.lcsim.recon.cluster.fixedcone.FixedConeClustererTest
Building org.lcsim with netbeans
In addition to the above you will need:
- Netbeans 4.0 (from http://www.netbeans.org/community/releases/40/index.html)
- Mevenide plugin for Netbeans (from http://mevenide.codehaus.org/download.html).
Installing mevenide
Download and install this small autoupdate module
Once these are installed you can open the project folders in netbeans and build using maven from inside netbeans.