[jbosstools-issues] [JBoss JIRA] (JBIDE-10318) EJB jar projects are deployed as exploded jars in war/WEB-INF/lib
Mike Mosiewicz (Commented) (JIRA)
jira-events at lists.jboss.org
Sat Dec 3 11:40:48 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647820#comment-12647820 ]
Mike Mosiewicz commented on JBIDE-10318:
----------------------------------------
Here is the patch I came up with:
Index: jbosscore/org/jboss/ide/eclipse/as/core/publishers/PublishUtil.java
===================================================================
--- jbosscore/org/jboss/ide/eclipse/as/core/publishers/PublishUtil.java (revision 36915)
+++ jbosscore/org/jboss/ide/eclipse/as/core/publishers/PublishUtil.java (working copy)
@@ -313,6 +313,12 @@
return true;
} else if( moduleTypeId.equals(IWTPConstants.FACET_WEB_FRAGMENT)) {
return true;
+ } else if( moduleTypeId.equals(IWTPConstants.FACET_EJB)) {
+ if( moduleTree.length > 1) {
+ String parentModuleTypeId = moduleTree[moduleTree.length - 2].getModuleType().getId();
+ if( parentModuleTypeId.equals(IWTPConstants.FACET_WEB))
+ return true;
+ }
}
return false;
}
> EJB jar projects are deployed as exploded jars in war/WEB-INF/lib
> -----------------------------------------------------------------
>
> Key: JBIDE-10318
> URL: https://issues.jboss.org/browse/JBIDE-10318
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS/Servers
> Affects Versions: 3.3.0.M4
> Reporter: Mike Mosiewicz
> Assignee: Rob Stryker
> Priority: Blocker
> Labels: deployment, ejb
>
> EJB jars deployed in WAR's WEB-INF/lib are exploded. That cause errors. Everything in WEB-INF/lib should be zipped. This is similiar to JBIDE-9836.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list