Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "IAM WTP support"

(New page: {{backlink|IAM}} == WAR support == WAR projects are supported as WTP dynamic web modules. === WAR overlay === Use cases: * war dependency in the repository ** run war:exploded an...)
 
(WAR overlay)
Line 9: Line 9:
 
Use cases:  
 
Use cases:  
  
* war dependency in the repository
+
* A) war dependency in the repository
 
** run war:exploded and add the target dir to the war sources
 
** run war:exploded and add the target dir to the war sources
* war dependency in the workspace
+
** 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
 
** for each dependency
 
*** run war:exploded in the other project
 
*** run war:exploded in the other project
 
*** link target dir in the other project from current project target folder
 
*** link target dir in the other project from current project target folder
 
*** add link to war sources   
 
*** 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
 +
  
  
 
[[Category:IAM]]
 
[[Category:IAM]]

Revision as of 18:50, 30 November 2009

< 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

Back to the top