Hugi,

you don't need to invoke mvn package on your webapp after each local
modification.
You can install m2e-wtp (https://github.com/sonatype/m2eclipse-wtp/wiki), if
you want a tight integration with the Eclipse Web Tools Project and its
JavaEE tooling, or webby (
https://docs.sonatype.org/display/M2ECLIPSE/Integration+with+Maven+WAR+Plugin)
which is more limited in scope but provides faster turnarounds.
Both plugins can be integrated with JRebel.
You can read Rafal's testimony on the subject :
http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01041.html

Regards,

Fred Bricon


2011/8/8 Hugi Thordarson <[email protected]>

> [originally sent to the maven-users list, before I discovered this one]
>
> Hi all.
>
> I'm using Eclipse 3.7 to develop Web Applications (jsp & servlets) using
> Maven (m2eclipse).
>
> Currently, when I make modifications to a class or resource in Eclipse, I
> have to manually invoke "mvn package" on my project to get the updated
> resources/jars copied to the target directory (where the application is
> running, from an external Tomcat).
>
> Anyone know if I can make the Maven auto builder in Eclipse automatically
> update the web application residing in my target folder, so I can skip the
> manual step? (and totally enjoy the autoloading of modified classes JRebel
> is providing)
>
> (or if someone has a better idea for a workflow—essentially, I just want to
> code, and not have to do any manual work for each modification.
>
> Cheers,
> - hugi
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to