Skip to content

Commit

Permalink
fix: set DATASHARE_HOME in ./launckBack to launch dev jar
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed May 24, 2024
1 parent a0aad56 commit 89165f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions launchBack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,address=$JDWP_TRAN
-Djavax.net.ssl.trustStorePassword=changeit"

DATASHARE_POM_VERSION=$(cat $DIR/pom.xml | grep '<version>[0-9.]\+' | sed 's/<version>\([0-9a-z.\-]\+\)<\/version>/\1/g' | tr -d '[:space:]')
export DATASHARE_HOME=$DIR
export DATASHARE_VERSION=${DATASHARE_VERSION:-$DATASHARE_POM_VERSION}
export DATASHARE_JAR=${DATASHARE_JAR:-$DIR/datashare-dist/target/datashare-dist-${DATASHARE_VERSION}-all.jar}
export DATASHARE_SYNC_NLP_MODELS=${DATASHARE_SYNC_NLP_MODELS:-true}
Expand Down

0 comments on commit 89165f7

Please sign in to comment.