[jbosstools-issues] [JBoss JIRA] (JBIDE-18130) JBDS doesn't follow/honor <module-alias> of jboss modules
Max Rydahl Andersen (JIRA)
issues at jboss.org
Fri Aug 29 11:02:00 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-18130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997009#comment-12997009 ]
Max Rydahl Andersen commented on JBIDE-18130:
---------------------------------------------
The only two module-alias in EAP are:
system/layers/base/org/apache/commons/logging/main/module.xml
25:<module-alias xmlns="urn:jboss:module:1.1" name="org.apache.commons.logging" target-name="org.slf4j.jcl-over-slf4j"/>
system/layers/base/org/apache/log4j/main/module.xml
25:<module-alias xmlns="urn:jboss:module:1.1" name="org.apache.log4j" target-name="org.jboss.log4j.logmanager"/>
and seem to be relatively new concept.
Is there anything that prevent you from using the actual module name ?
For now we prefer to mark this as a feature request and not block upcoming GA unless there is a usecase that we have missed ?
> JBDS doesn't follow/honor <module-alias> of jboss modules
> ---------------------------------------------------------
>
> Key: JBIDE-18130
> URL: https://issues.jboss.org/browse/JBIDE-18130
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Reporter: Takayuki Konishi
> Assignee: Rob Stryker
> Attachments: modalias.zip
>
>
> JBDS 8 beta3 cannot resolve <module-alias> of jboss modules. For example, org.apache.log4j cannot resolved with these configurations [1][2][3]. They are valid; when I create a similar maven project, it can be deployed in EAP 6.3.0.
> [1]
> {code:title=MANIFEST.MF|borderStyle=solid}
> Manifest-Version: 1.0
> Class-Path:
> Dependencies: org.apache.log4j
> {code}
> [2]
> {code}
> import org.apache.log4j.Logger;
> ...
> public class SampleClass{
> private static final Logger logger = Logger.getLogger(SampleClass.class);
> ...
> {code}
> [3]
> {code:title=module.xml|borderStyle=solid}
> <module-alias xmlns="urn:jboss:module:1.1" name="org.apache.log4j" target-name="org.jboss.log4j.logmanager"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list