Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Maven - incremental deployment for Glassfish or JBoss(new plugin)
Maven - incremental deployment for Glassfish or JBoss [message #629092] Mon, 27 September 2010 07:51
Ralph Soika is currently offline Ralph SoikaFriend
Messages: 80
Registered: July 2009
I have developed a eclipse plugin to support incremental deployment for
Maven multi-module JEE Projects.
The problem to me was that the WTP integration did not support hot or
incremental deployment from multi-module maven projects.
In the past my ear pom.xml did include a ant-plugin configuration like this
to copy the final ear build into my glassfish autodeploy folder:

                               the Property 'autodeploy' needs to be configured in the
                               settings.xml file the property should point to the autodeploy
                               folder from app server
                       <echo message="About to copy EAR to autodeploydirectory..." />
                       <echo> EAR:
                               autodeploy directory: ${autodeploy} </echo>
                               todir="${autodeploy}" />
                       <echo message="Copied EAR to autodeploy directory." />

This all works but Glassfish also supports incremental deployment. So any
changes to a .xhtml, .jsf Page can be deployed incremental when the changes
from the Eclipse IDE are reflected into the glassfish applications/
directory where all deployed JEE modules and applications are present.

So this is what my pugin did. You can specifiy the target folder for a JEE
module and you got a incremental deployment.

As a result using this plugin I only need to make a mvn:install when a full
redeploy is suitable .

But maybe this is helpful to other maven developers.
Thanks for any feedback.
Previous Topic:Integrating Eclipse with dot net ?
Next Topic:Changing the Encoding type value in the peferences doesn't reflect in the active editors (HTML, XML.
Goto Forum:

Current Time: Fri Nov 27 17:34:12 GMT 2015

Powered by FUDForum. Page generated in 0.03770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software