How to say jetty-runner to not use random dir -


i´m using jetty-runner start application. on every start creates new temp folder. avoid it. here example:

java -djava.io.tempdir=webapp -jar jetty-runner-9.3.0.m2.jar wars\*.war context.xml

when start it, creates folder in webapp jetty-0.0.0.0-8080-mywar.war-_-any-2227787194488516977.dir. uses right syntax "jetty-"+host+"-"+port+"-"+resourcebase+"-_"+context+"-"+virtualhost+"-"+randomdigits+".dir".

my question ist how avoid it, generate random digits. reuse webapps , genreate new one, if wars changes.

by default, jetty create temporary directory each web application. name of directory of form:

"jetty-"+host+"-"+port+"-"+resourcebase+"-_"+context+"-"+virtualhost+"-"+randomdigits+".dir" 

each time when start jetty, use check war file existing deployment folder , if identifiyes war file changed, jetty deletes old depolyment folder , deploy changed war fresh. need not worry deployment.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -