[Lift] Re: maven and jetty
On Tue, Oct 6, 2009 at 11:10 PM, Jack Widman wrote: > I am picking up a very subtle insinuation that that question was too easy > for this forum. I agree whole heartedly. Won't do it again. My next > question is - Is P=NP? No wait, thats not appropriate. > > No, the question was not to easy for this forum, but it was the wrong forum. > > On Tue, Oct 6, 2009 at 5:07 PM, Timothy Perrett > wrote: > >> Correct. :run uses the stuff under src/main/webapp vs :run-war that uses >> what is bundled in the war (surprise surprise!) >> >> This should all be explained in the maven-jetty-plugin docs as this is not >> something lift specific by any means. >> >> Cheers, Tim >> >> Sent from my iPhone >> >> On 6 Oct 2009, at 21:57, Jack Widman wrote: >> >> I thought run uses classes and run-war uses the war. no? >> >> On Tue, Oct 6, 2009 at 4:54 PM, MarkChance < >> mark.cha...@gmail.com> wrote: >> >>> >>> I use mvn -Djetty.port=8090 jetty:run >>> It builds the war and then runs jetty. If you leave it running and re- >>> build the war, say in your IDE, the Jetty generally restarts >>> automatically. >>> >>> HTH, Mark >>> >>> On Oct 5, 8:44 pm, Jack Widman wrote: >>> > Well it seems that mvn run-war is creating the war and overriding the >>> one I >>> > just uploaded. How do I just run with a given war and not create the >>> war. >>> > >>> >>> >>> >> >> >> -- >> Jack >> >> >> >> >> > > > -- > Jack > > > > -- Viktor Klang Blog: klangism.blogspot.com Twttr: viktorklang Lift Committer - liftweb.com AKKA Committer - akkasource.org Cassidy - github.com/viktorklang/Cassidy.git SoftPub founder: http://groups.google.com/group/softpub --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
I am picking up a very subtle insinuation that that question was too easy for this forum. I agree whole heartedly. Won't do it again. My next question is - Is P=NP? No wait, thats not appropriate. On Tue, Oct 6, 2009 at 5:07 PM, Timothy Perrett wrote: > Correct. :run uses the stuff under src/main/webapp vs :run-war that uses > what is bundled in the war (surprise surprise!) > > This should all be explained in the maven-jetty-plugin docs as this is not > something lift specific by any means. > > Cheers, Tim > > Sent from my iPhone > > On 6 Oct 2009, at 21:57, Jack Widman wrote: > > I thought run uses classes and run-war uses the war. no? > > On Tue, Oct 6, 2009 at 4:54 PM, MarkChance < > mark.cha...@gmail.com> wrote: > >> >> I use mvn -Djetty.port=8090 jetty:run >> It builds the war and then runs jetty. If you leave it running and re- >> build the war, say in your IDE, the Jetty generally restarts >> automatically. >> >> HTH, Mark >> >> On Oct 5, 8:44 pm, Jack Widman wrote: >> > Well it seems that mvn run-war is creating the war and overriding the >> one I >> > just uploaded. How do I just run with a given war and not create the >> war. >> > >> >> >> > > > -- > 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
Correct. :run uses the stuff under src/main/webapp vs :run-war that uses what is bundled in the war (surprise surprise!) This should all be explained in the maven-jetty-plugin docs as this is not something lift specific by any means. Cheers, Tim Sent from my iPhone On 6 Oct 2009, at 21:57, Jack Widman wrote: > I thought run uses classes and run-war uses the war. no? > > On Tue, Oct 6, 2009 at 4:54 PM, MarkChance > wrote: > > I use mvn -Djetty.port=8090 jetty:run > It builds the war and then runs jetty. If you leave it running and > re- > build the war, say in your IDE, the Jetty generally restarts > automatically. > > HTH, Mark > > On Oct 5, 8:44 pm, Jack Widman wrote: > > Well it seems that mvn run-war is creating the war and overriding > the one I > > just uploaded. How do I just run with a given war and not create > the war. > > > > > > > > -- > 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
I thought run uses classes and run-war uses the war. no? On Tue, Oct 6, 2009 at 4:54 PM, MarkChance wrote: > > I use mvn -Djetty.port=8090 jetty:run > It builds the war and then runs jetty. If you leave it running and re- > build the war, say in your IDE, the Jetty generally restarts > automatically. > > HTH, Mark > > On Oct 5, 8:44 pm, Jack Widman wrote: > > Well it seems that mvn run-war is creating the war and overriding the one > I > > just uploaded. How do I just run with a given war and not create the war. > > > > > > -- 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
I use mvn -Djetty.port=8090 jetty:run It builds the war and then runs jetty. If you leave it running and re- build the war, say in your IDE, the Jetty generally restarts automatically. HTH, Mark On Oct 5, 8:44 pm, Jack Widman wrote: > Well it seems that mvn run-war is creating the war and overriding the one I > just uploaded. How do I just run with a given war and not create the war. > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
Well it seems that mvn run-war is creating the war and overriding the one I just uploaded. How do I just run with a given war and not create the war. On Mon, Oct 5, 2009 at 10:37 PM, Ryan Stradling wrote: > > Have you verified another server is not running on that port? > > Have you tried http:/// Just to see if that works > > Sent from my iPhone > > On Oct 5, 2009, at 10:12 PM, jack wrote: > > > > > I have been working locally for a long time and I seem to have > > forgotten how to deploy and run a war on Jetty! > > > > I am ftping the war to my server and putting it in the target > > directory. > > > > I then run mvn jetty:run-war -Djetty.port=80 and I keep getting the > > default app. > > > > What am I doing wrong? > > > > > > > -- 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 -~--~~~~--~~--~--~---
[Lift] Re: maven and jetty
Have you verified another server is not running on that port? Have you tried http:/// Just to see if that works Sent from my iPhone On Oct 5, 2009, at 10:12 PM, jack wrote: > > I have been working locally for a long time and I seem to have > forgotten how to deploy and run a war on Jetty! > > I am ftping the war to my server and putting it in the target > directory. > > I then run mvn jetty:run-war -Djetty.port=80 and I keep getting the > default app. > > What am I doing wrong? > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---