JBoss Community

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

created by teg79 in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community