[249044] Web module's jar modules from another project are not published for Tomcat.
diff --git a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/ISingleRootStatus.java b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/ISingleRootStatus.java index 912b905..a49ef7e 100644 --- a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/ISingleRootStatus.java +++ b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/ISingleRootStatus.java
@@ -49,6 +49,8 @@ public static final int ONLY_1_CONTENT_ROOT_ALLOWED = 80; + public static final int EXPLICITLY_DISABLED = 81; + public ComponentResource getComponentResource();
diff --git a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/SingleRootUtil.java b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/SingleRootUtil.java index db6eadd..8e3f814 100644 --- a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/SingleRootUtil.java +++ b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/project/SingleRootUtil.java
@@ -130,6 +130,9 @@ boolean useSingleRoot = Boolean.valueOf(wbProperty.getValue()).booleanValue(); if (useSingleRoot) { return Status.OK_STATUS; + } else { + reportStatus(ISingleRootStatus.EXPLICITLY_DISABLED); + return getStatus(); } } }