Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (12 sloc) 492 Bytes
# This script runs the jar-file.
# If the jar-file is not present, it will compile using maven.
# Note that if the source has changed, the project will not recompile until the jar-file
# is removed.
set -ue
VERSION=$(cat pom.xml | paste -s - | grep -Eoi '<groupId>org.networkcalculus.snc.*?/version' | sed 's:.*version>\(.*\)</version.*:\1:g')
if [ ! -f "$TARGET_JAR" ]; then
mvn package
java -jar "$TARGET_JAR"
You can’t perform that action at this time.