A dependency added to an EAR won't automatically propagate to its
constituent deployments unless you declare it as exported:
Dependency: org.jboss.logging export
Not sure it's ever been tried - good luck! ;-)
On 03/22/2011 11:16 AM, Andrig Miller wrote:
Jaikiran,
I have tried the approach of adding the dependencies into the
MANIFEST.MF, but I still get the same class not found exception when
trying to use JBoss Logging. I have attached my ear file. Maybe someone
could look at it, and see what I might be doing wrong.
Andy
------------------------------------------------------------------------
*From: *"Andrig Miller" <anmiller(a)redhat.com>
*To: *jpai(a)redhat.com
*Cc: *jboss-as7-dev(a)lists.jboss.org
*Sent: *Friday, March 18, 2011 9:51:31 AM
*Subject: *Re: [jboss-as7-dev] Question about JBoss Logging
Okay, thanks. Ales pinged me via Skype and said the same thing.
Thanks again.
Andy
------------------------------------------------------------------------
*From: *"Jaikiran Pai" <jpai(a)redhat.com>
*To: *"Andrig Miller" <anmiller(a)redhat.com>
*Cc: *jboss-as7-dev(a)lists.jboss.org
*Sent: *Friday, March 18, 2011 9:02:59 AM
*Subject: *Re: [jboss-as7-dev] Question about JBoss Logging
You _don't_ need the jboss-structure.xml (or any other JBoss
specific descriptors).
-Jaikiran
On Friday 18 March 2011 08:17 PM, Andrig Miller wrote:
------------------------------------------------------------------------
*From: *"Jaikiran Pai" <jpai(a)redhat.com>
*To: *jboss-as7-dev(a)lists.jboss.org
*Sent: *Friday, March 18, 2011 7:21:57 AM
*Subject: *Re: [jboss-as7-dev] Question about JBoss Logging
On Friday 18 March 2011 06:39 PM, Andrig Miller wrote:
Is JBoss Logging exposed as a public API through the
module system?
From what I remember, it's not.
If not, what is the recommended approach?
Add the following to META-INF/MANIFEST.MF:
Manifest-Version: 1.0
Dependencies: org.jboss.logging
Do, I have to do this, plus the jboss-structure.xml?
Andy
-Jaikiran
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev