IAM WTP support

From Eclipsepedia

Jump to: navigation, search

< To: IAM

WAR support

WAR projects are supported as WTP dynamic web modules.

WAR overlay

Use cases:

  • A) war dependency in the repository
    • run war:exploded and add the target dir to the war sources
    • if resource gets modified -> nothing to do
    • if dependency war gets modified -> check repo timestamps, rerun war:exploded
    • if pom dependencies change -> recalculate war sources
    • if pom changes in dependency -> check repo timestamps, rerun war:exploded
  • B) war dependency in the workspace
    • for each dependency
      • run war:exploded in the other project
      • link target dir in the other project from current project target folder
      • add link to war sources
    • if resource gets modified -> nothing to do
    • if dependency war resources gets modified -> rerun war:exploded in the other project
    • if pom dependencies change -> recalculate war sources
    • if pom changes in dependency -> rerun war:exploded