Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
Code Block | ||
---|---|---|
| ||
cd /my/work/dir svngit checkoutclone svnhttps://svngithub.freehep.org/hps/java/trunk com/JeffersonLab/hps-java-trunk.git cd hps-java-trunk mvn install -DskipTests java -jar distribution/target/hps-distribution-[VERSION]-bin.jar |
...
For instance, this command will build the tracking reconstruction module.
No Format |
---|
cd hps-java-trunk/tracking
mvn -DskipTests |
This will install that module's jar into your local Maven repository. In order to include these changes in the distribution jar, you also need to build the distribution module, also.
No Format |
---|
cd hps-java-trunk/distribution
mvn |
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd hps-java-trunk/conditions; mvn test -Dtest=DatabaseConditionsManagerTest |
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd hps-java-trunk/integration-tests; mvn verify |
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd hps-java-trunk/integration-tests; mvn -Dit.test=ReconSteeringTest verify |
...
This will save the 3.6 distribution jar as hps-distribution-3.6-bin.jar in the current directory.
HPS Java is publicly accessible in read only mode. Valid credentials must be supplied in order to commit your local changes to the repository.
Info | ||
---|---|---|
| ||
To request a username and password for the Subversion repository, please email <hps-software AT slac.stanford.edu> with your full name, desired username, and institutional affiliation. |
The username and password must be supplied to commit changes, or the command will fail.
No Format |
---|
svn commit --username [username] --password [password] -m "commit message goes here" the/file/to/commit |
After the username and password have been supplied once, they can be cached automatically in the directory ~/.subversion if you select 'Y' when prompted whether to store them (unencrypted unfortunately!). Then these two arguments can be omitted from subsequent commit commands.
...