Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Can I invoke "package" on Eclipse auto-build?

> Thank you for that, I'll look into that tonight :).
> 
> I'm not sure if WTP will help me, though, since we're using war overlays, and I understand that's not supported by wtp/m2eclipse.

Thats no longer the case.

From http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-new-noteworthy:
"Experimental war overlay support

Finally, after all these years, m2e-wtp offers support for maven war overlays…."

It's out there and ready for feedback and other contributions to make it better.

/max

> 
> Cheers,
> - hugi
> 
> 
> 
> On 8.8.2011, at 19:18, Fred Bricon wrote:
> 
>> 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 <hugi@xxxxxxxxxxx>
>> [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
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>> 
>> 
>> 
>> -- 
>> "Have you tried turning it off and on again" - The IT Crowd
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
> 
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users

/max
http://about.me/maxandersen





Back to the top