Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0pre4, 6.1.12.rc3
-
Component/s: Maven
-
Labels:None
-
Number of attachments :
Description
Let's say you have a web application Maven project (type=war) that depends on another web application Maven project (dependency of type=war).
The goals jetty:run-war and jetty:run-exploded works fine (since the war is overlayed with any dependant web applications), but the goal jetty:run does not take dependent web application(s) into consideration. The result is that either you work in rapid development mode (jetty:run) with a partial web application [without artifacts from dependant web applications)] or in "slow" development mode (jetty:run-war/jetty:run-exploded) with a complete web application [with artifacts from dependant web applications]!
You can achieve rapid development mode with dependant web applications by preceding jetty:run with war:inplace, but that will place artifacts from dependant web applications into the source tree of your web application - which we don't want, for obvious reasons.
Here's a link related to the subject:
http://www.nabble.com/Multiple-%28virtual%29-web-app-roots-tf213828.html#a596958
Issue Links
- is depended upon by
-
TRAILS-101
Improve maintainability of the skins
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
| Link |
This issue is depended upon by |
| Attachment | JETTY-241-run-with-overlays.patch [ 34627 ] |
| Assignee | Jan Bartel [ janb ] | David Yu [ dyu ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.1.12.rc3 [ 14575 ] | |
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 7.0.0pre4 [ 14494 ] |
Same problem with jetty-jspc. When a JSP of the main artifact includes another JSP from the dependent WAR, jspc complains about file not found. war:inplace is not a proper solution because of the mess in source tree.