[jboss-user] [Beginner's Corner] - Re: How to deploy properties for application outside the EAR file?

Peter Johnson do-not-reply at jboss.com
Fri Apr 15 11:21:21 EDT 2011


Peter Johnson [http://community.jboss.org/people/peterj] created the discussion

"Re: How to deploy properties for application outside the EAR file?"

To view the discussion, visit: http://community.jboss.org/message/600347#600347

--------------------------------------------------------------
The server/xxx/conf directory is in the classpath so using ClassLoader.getRource() is a good way to access configuration files in that directory.

Alternately, you can get the server/xxx/conf location via the jboss.server.conf.url system property, and then us a File object to access the file.
--------------------------------------------------------------

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

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110415/927f9edb/attachment.html 


More information about the jboss-user mailing list