Skip to content
Snippets Groups Projects
Commit da02556f authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

added sh scripts

parent 04a7e541
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
DM_SVN_URL_EXP_SYNC=https://subversion.xray.aps.anl.gov/DataManagement/trunk/tools/ExperimentSynchronizer
execute() {
echo "Executing: $@"
eval "$@"
}
execute svn co $DM_SVN_URL_EXP_SYNC ExperimentSynchronizer
EXPSYNC_DIR=ExperimentSynchronizer
cd $EXPSYNC_DIR
mkdir bin
execute javac -classpath lib/*:resources/* -d bin/ src/gov/anl/dm/esafsync/*.java src/gov/anl/dm/esafsync/serviceconn/*.java
mkdir target
execute jar cfm target/ExperimentSynchronizer.jar manifest.txt -C bin/ .
execute() {
echo "Executing: $@"
eval "$@"
}
execute java -jar target/ExperimentSynchronizer.jar resources/config.properties
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment