You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Gunnar Eketrapp <gu...@gmail.com> on 2009/09/29 12:22:16 UTC

eclipse / mvn / run-jetty-run

Hi!

A newbie question!

I managed to install all of the above and can now start/debug my webapp
code.

But I still have to execute ...

mvn war:war

... to update my webapp files each time before launching a jetty run/debug
session.

How do you folks do this?

I.e. how do I execute this mvn task from within eclipse and is it possible
to do it automatically?

Thanks in advance,
Gunnar Eketrapp,
Cold North (Stockholm)

Re: eclipse / mvn / run-jetty-run

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 29 Sep 2009 07:22:16 -0300, Gunnar Eketrapp  
<gu...@gmail.com> escreveu:

> Hi!

Hi!

> I.e. how do I execute this mvn task from within eclipse and is it  
> possible to do it automatically?

Take a look at  
http://www.nabble.com/forum/ViewPost.jtp?post=25596456&framed=y&skin=302.  
I describe how I use Jetty without Maven (even though I love it) and have  
live class reloading working.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: eclipse / mvn / run-jetty-run

Posted by DH <ni...@gmail.com>.
I just use the maven archetype and directly run mvn jetty:run & mvnDebug jetty:run.

If mvn jetty:run, all changes in page/component classes are reloaded, but not for other classes.
If mvnDebug and in eclipse to debug it, all changes in page/component classes and other classes are immediately reloaded,
but for adding new method, I still need restart mvnDebug.


DH
http://www.gaonline.com.cn

----- Original Message ----- 
From: "Gunnar Eketrapp" 
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Tuesday, September 29, 2009 6:22 PM
Subject: eclipse / mvn / run-jetty-run


> Hi!
> 
> A newbie question!
> 
> I managed to install all of the above and can now start/debug my webapp
> code.
> 
> But I still have to execute ...
> 
> mvn war:war
> 
> ... to update my webapp files each time before launching a jetty run/debug
> session.
> 
> How do you folks do this?
> 
> I.e. how do I execute this mvn task from within eclipse and is it possible
> to do it automatically?
> 
> Thanks in advance,
> Gunnar Eketrapp,
> Cold North (Stockholm)
>