Whilst waiting for the fix to make its way into branch 5.x I used the
<demand state="PreInstall">barModule</demand>
approach instead.
This correctly prevents a classloading attempt when barModule is not present.
However, when the module is present the ClassDefNotFound comes back.
I'm guessing barModule's classes are not exposed to other modules by default? If I
don't control barModule, is there any way I can still get at its classes, short of
copying the .jar files? :-)
Failing that, what's the correct meta data for barModule to expose things?
jboss-classloading.xml with capabilities elements for anything it wants to publish?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208635#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...