Skip to content

Instantly share code, notes, and snippets.

@vig
Created October 9, 2017 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vig/235df09adb8f24c328d399d20f3af51b to your computer and use it in GitHub Desktop.
Save vig/235df09adb8f24c328d399d20f3af51b to your computer and use it in GitHub Desktop.
[ehrserver@ehrserver openEHR-OPT-master]$ cat build.sh
rm -rf ./bin
find ./src -name "*.groovy" > tmpsources.txt
groovyc -cp "./lib/*" -d bin @tmpsources.txt
rm tmpsources.txt
$ cat jargen.sh
jar -cfv openEHR_OPT.jar -C bin . -C .. xsd/*
$ cat opt.sh
java -cp "./lib/*:/home/ehrserver/.sdkman/candidates/grails/2.5.6/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.4.10.jar:openEHR_OPT.jar" com.cabolabs.openehr.opt.Main $1 $2 $3 $4 $5 $6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment