This content has been marked as final.
Show 1 reply
-
1. Re: Global module confusion
gibsonc May 15, 2012 4:48 PM (in response to gibsonc)OK, so after trial and horror I made progress - posting it here for reference:
Take the jar and using tattletale (http://www.jboss.org/tattletale) find all the dependencies.
Add these to your module.xml
Many classes from rt.jar, like in my case I needed javax.naming are exposed via javax.api so you need to add that too:
<module xmlns="urn:jboss:module:1.1" name="za.co.company.ivr.stats"> <dependencies> <module name="javax.servlet.api" slot="main" export="true"/> <module name="javax.servlet.jsp.api" slot="main" export="true"/> <module name="javax.api" slot="main" export="true"/> </dependencies> <resources> <resource-root path="vVoice_2.3.53.jar"/> </resources> </module>
I may not be a java expert but Im sure becoming a search one