You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Petr Ferschmann <pf...@softeu.com> on 2007/01/10 13:36:11 UTC
Re: How to automatic re-deploy sources (classes/jsp) after
changing them ???
Hello,
in case you use only servlet container, you could use jetty plugin
(jetty:run).
But when you use EJB ...
sammes píše v St 10. 01. 2007 v 01:30 -0800:
> Hi,
>
> we are using Eclipse, Hibernate, Ant and Maven2 for a java web application.
>
> At the moment, everytinme I change a JSP or a java class I have to "mvn
> package" (redeploy etc.) the whole app.
>
> Then I have to restart our jBoss/tomcat server.
>
> Is there a way to automatical redeploy/refresh this after changing something
> ?
>
> When I use eclipse/java/ant without maven, I have the hotdeploy. And if
> hotdeploy does not work (for e.g. changing a base class), I only have to
> restart the jBoss server.
>
> But with the current configuration, I always have to do all (stop server,
> mvn package, restart server).
>
> It would be great if you have any idea for this problem!
>
> regards
> Michael
--
Petr Ferschmann
SoftEU s.r.o.
-----------------------------------
Sady Petatricatniku 31
301 00 Plzen
Czech Republic
-----------------------------------
Phone: +420 373 729 300
Fax: +420 373 729 301
Cell: +420 775 638 008
E-mail: pferschmann@softeu.com