Files
pr.tp.web-ipd-tp-6/webapp-runner.sh
2020-03-09 16:52:28 +01:00

10 lines
420 B
Bash
Executable File

#!/bin/bash
# Téléchargement du runner jetty (https://www.eclipse.org/jetty/documentation/9.4.x/runner.html)
wget -O webapp-runner.jar -c https://search.maven.org/remotecontent?filepath=com/github/jsimone/webapp-runner/9.0.27.1/webapp-runner-9.0.27.1.jar
# Compilation du war dans target
mvn package
# Lancement du projet (à adapter si le jar change)
java -jar webapp-runner.jar target/pr.tp.web-0.0.1-SNAPSHOT.war