[jboss-dev-forums] [JBoss AS 7 Development] - Re: How to add a .properties file as a resource in a JBOSS module?

teg79 do-not-reply at jboss.com
Fri Mar 2 09:10:50 EST 2012


teg79 [https://community.jboss.org/people/teg79] created the discussion

"Re: How to add a .properties file as a resource in a JBOSS module?"

To view the discussion, visit: https://community.jboss.org/message/721153#721153

--------------------------------------------------------------
Hi,
you can create a folder inside the module root like "resources" and put there your properties and define the folder as a resource-root:

[code]
<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.1" name="my.module">

    <resources>
        <resource-root path="resources"/>
    </resources>

</module>
[/code]
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/721153#721153]

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/20120302/21254afe/attachment.html 


More information about the jboss-dev-forums mailing list