Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWAR overlay support in the last dev build
https://www.eclipse.org/forums/index.php/mv/msg/180104/571488/#msg_571488
if you are interested and let us know your fedback!
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.]]>Carlos Sanchez2009-12-09T20:01:28-00:00