add runners
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -234,3 +234,4 @@ Temporary Items
|
|||||||
# End of https://www.gitignore.io/api/osx,java,linux,maven,eclipse,intellij
|
# End of https://www.gitignore.io/api/osx,java,linux,maven,eclipse,intellij
|
||||||
|
|
||||||
jetty-runner.jar
|
jetty-runner.jar
|
||||||
|
webapp-runner.jar
|
||||||
|
|||||||
10
webapp-runner.sh
Executable file
10
webapp-runner.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/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 http://central.maven.org/maven2/com/github/jsimone/webapp-runner/9.0.16.0/webapp-runner-9.0.16.0.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
|
||||||
Reference in New Issue
Block a user