Thanks David. The command I was trying to remember was deploy-war but I kept using run-war. The names are not quite precise. run-war should be called build-and-run-war, and deploy-war is really run-with-war. If those names were not so horribly long, that is.
On Tue, Oct 6, 2009 at 3:05 AM, David Bernard <david.bernard...@gmail.com>wrote: > > To create a war : > mvn package > > To deploy (outline), (war are bundles that need a WebApp server to run > (eg : jetty, tomcat, glassfish, jboss,...): > # install jetty on your server (not maven) > ## start jetty > ## try http://jetty.host:jetty.port/ (eg: http://127.0.0.1:8080/) > ## stop > # put your .war into the jetty/webapp dir > ## start jetty > ## try http://jetty.host:jetty.port/mywebapp (mywebapp is the basename > of your .war, if you don't want context (mywebapp prefix, named your > war ROOT.war) > # optional tweak the jetty configuration (read the jetty doc) > > FYI : Tim Perret is working on solution to create standalone jar with > jetty embedded (search in the mailing-list) > > If you don't use Comet, you could try the winstone-maven-plugin to > create a runnable jar > > /davidB > > On Tue, Oct 6, 2009 at 05:31, jack <jack.wid...@gmail.com> wrote: > > > > never mind. > > deploy-war, not run-war > > (been working too hard) > > > > On Oct 5, 11:09 pm, Jack Widman <jack.wid...@gmail.com> wrote: > >> I meant to say jetty:run-war > >> > >> On Mon, Oct 5, 2009 at 10:52 PM, jack <jack.wid...@gmail.com> wrote: > >> > >> > Is mvn jetty:run supposed to creat the war file? I want to upload a > >> > war file and just run it, not create another one. How do I do that? > >> > >> -- > >> Jack > > > > > > > > > -- Jack --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---