Dave ha scritto:
On Mon, Mar 10, 2008 at 7:14 PM, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
I'd like to put planet-custom.properties and roller-custom.properties
inside the roller webapp folder (I don't like to put private files in
sared folder). But all my attempts have been useless.
I am using Tomcat6 I must put them only in /lib folder?
No, you can also put them in the WEB-INF/classes directory.
I must investigate, now it seems work (it works) but i did the same try
yesterday.... maybe I did sometings wrong.
Thank you very much
Edoardo
Or, you can put them anywhere on the file system and then use a JVM
parameter to reference them. For example, you could add something like
this to catalina.sh:
export JAVA_OPTS=-Droller.custom.config=/path/to/roller-custom.properties.
- Dave
--
Jabber: [EMAIL PROTECTED]
tel: 075 9142766