Launching Jenkins war from command line

2015-06-18 Thread Ari Maniatis
Jenkins (and Hudson before it) has implemented a neat trick to launching the app without a container (tomcat, jetty, etc) being launched first. java -jar jenkins.war I'm trying to do the same on another project, but can't figure out how this trick works. I understand some parts. Add a line to

Re: Launching Jenkins war from command line

2015-06-18 Thread Ari Maniatis
On Thursday, 18 June 2015 20:12:14 UTC+10, Ben Castellucci wrote: > > > It is 2 parts - first part is to extract all jars involved in the servlet > container to one directory, then add your main class with some lines of > code to start up an instance of the container and reference that main class