Revision b5bedcef8ec1cc4f37b72efecc3859427e35e843 authored by Bruno Thomas on 17 January 2019, 16:16:58 UTC, committed by Bruno Thomas on 17 January 2019, 16:16:58 UTC
1 parent 2e29d51
launchBack.sh
#!/bin/bash
VERSION=$(cat pom.xml | grep '<version>[0-9.]\+' | sed 's/<version>\([0-9.]\+\)<\/version>/\1/g' | tr -d '[:space:]')
CLASSPATH=$(find datashare-dist/target/datashare-dist-${VERSION}-all/lib/ -name '*.jar' | sort | xargs | sed 's/ /:/g')
mkdir -p dist
java -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n -Djavax.net.ssl.trustStorePassword=changeit \
-Xmx4g -DPROD_MODE=true -cp "dist/:${CLASSPATH}" org.icij.datashare.cli.DatashareCli --cors '*' \
--oauthAuthorizeUrl http://xemx:3001/oauth/authorize --oauthTokenUrl http://xemx:3001/oauth/token \
--oauthApiUrl http://xemx:3001/api/v1/me.json "$@"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...