tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: tomcat7:run with multi maven modules changes
Date Tue, 08 May 2012 18:45:12 GMT
You need to write a M2E connector for a Maven MOJO that processes your
projects files. I don't think this is the case for the tomcat7:run goal and
it should work out of of the box in Eclipse. Just need to add a Maven lunch
configuration with the proper goal.

Regards
Jeff


On Tue, May 8, 2012 at 5:34 PM, Olivier Lamy <olamy@apache.org> wrote:

> I imagine you use tomcat7:run "inside" eclipse.
> Do that work outside eclipse ?
>
> Perso I don't have any issues as I use only command line and
> furthermore I don't use eclipse :-).
> I imagine there is some m2e connector to write....
>
> 2012/5/8 Albert Kam <moonblade.wolf@gmail.com>:
> > I notice that i have to repeat these steps so that tomcat7:run will
> > see the newest stuffs from other maven modules :
> > - rebuild all of my mvn modules (including my webapp module on which
> > my tomcat7:run-ed, and other dependencies module)
> > - clean my eclipse java project, rebuilding everything
> > - tomcat7:run will then see the newest stuffs
> >
> > Note that i dont need to rebuild maven and eclipse project if i dont
> > modify the webapp maven module, tomcat7 can automatically see the
> > newest changes
> >
> > Ideally i would like to skip rebuilding everything in maven and then
> > eclipse to see the newest changes in the other modules outside webapp
> > module.
> >
> > Are there any tips to achieve this ?
> >
> > Thanks !
> >
> > --
> > Do not pursue the past. Do not lose yourself in the future.
> > The past no longer is. The future has not yet come.
> > Looking deeply at life as it is in the very here and now,
> > the practitioner dwells in stability and freedom.
> > (Thich Nhat Hanh)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message