Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » WAR overlay support in the last dev build
WAR overlay support in the last dev build [message #502824] Wed, 09 December 2009 20:01
Carlos Sanchez is currently offline Carlos SanchezFriend
Messages: 114
Registered: July 2009
Senior Member
WAR overlays are supported in the last dev build. Please give it a try
if you are interested and let us know your fedback!

More info at http://wiki.eclipse.org/IAM_WTP_support

---

In the last dev build (0.10.1.200912091148) IAM has support for WAR
overlays. See Installation instructions at
http://code.google.com/p/q4e/wiki/Installation and use the development
update site http://q4e.googlecode.com/svn/trunk/updatesite-dev/

A) war dependency in the repository
o IAM will run war:exploded and add the target dir to the war source
components, after the current project web source folders
o if the war in the repository gets modified changes will not affect
the project
o if there are pom changes in the current project or dependent
projects the exploded war folder will be deleted and war:exploded will
be run again
+ this could be optimized to check if the changes really affect the
WAR in the WarBuilderDelegate

B) war dependency in the workspace
o IAM will link the other project webapp source folder from target/iam
and add it to the current project web source folders
o if there are pom changes in the current project or dependent
projects the links will be recalculated
o if the dependency also have war dependencies then war:exploded is
run for it and the link target is the exploded war folder instead of the
source war folder

If there's a mix of A and B the order is
* Workspace dependencies
* Repository dependencies

This would have an impact only if there's the same file in both the
current project and the dependencies.

The cases where folders are linked from one project to another have no
performance penalty. When war:exploded is needed there's a penalty as
Maven needs to be executed.

TODO jars and classes in dependent wars may not be had into account when
using Run As a Server in some cases, needs to be tested.
Previous Topic:WAR overlay support in the last dev build
Next Topic:True Multi Module Support?
Goto Forum:
  


Current Time: Mon May 06 08:12:12 GMT 2024

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

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

Back to the top