Print

Print


Hi,

In talking with Pelle, I realized that it might not be clear how to build the runnable jar that used to be part of hps-java.

There is a separate distribution package for this purpose now, located here:

svn://svn.freehep.org/hps/java/trunk/distribution

Basically, you can build the bin jar as follows from the shell:

svn co svn://svn.freehep.org/hps/java/trunk/distribution
cd distribution
mvn clean install

Then the runnable jar will be located at:

distribution/target/hps-distribution-3.0-SNAPSHOT-bin.jar

It can be used like the old hps-java bin jar:

java -jar distribution/target/hps-distribution-3.0-SNAPSHOT-bin.jar [args]

This will automatically pull in and bundle the following dependencies together:

hps-java
hps-detector-data
hps-users
lcsim-distribution

So before you build the distribution, you need to make sure the proper dependencies have been installed into your local maven repository, namely the local copies of the hps-* jars containing any possible modifications you have made and want to access in your steering file.

Hope that makes sense...

--Jeremy

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1