[jboss-dev-forums] [JBoss AS 7 Development] - JBoss AS 7 modules: can do a module with all libraries in a directory?
Jonatan Guillen
do-not-reply at jboss.com
Thu Sep 13 05:41:21 EDT 2012
Jonatan Guillen [https://community.jboss.org/people/jonatan.guillen] created the discussion
"JBoss AS 7 modules: can do a module with all libraries in a directory?"
To view the discussion, visit: https://community.jboss.org/message/759363#759363
--------------------------------------------------------------
I want to define a module with a resource-root like this:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="com.mymodule">
<resources>
<resource-root path="libs"/>
</resources>
<dependencies />
</module>
The directory contains all the libraries I need. I've tried it and it not work, but if I put it this way it work:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="com.mymodule">
<resources>
<resource-root path="libs/lib1.jar"/>
<resource-root path="libs/lib2.jar"/>
<resource-root path="libs/lib3.jar"/>
<resource-root path="libs/lib4.jar"/>
........
</resources>
<dependencies />
</module>
Is there a way to do it the first?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759363#759363]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120913/19125a95/attachment.html
More information about the jboss-dev-forums
mailing list