You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Edoardo Panfili <ed...@aspix.it> on 2008/03/11 00:14:13 UTC
right place for planet and roller-custom.properties
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?
thak you
Edoardo
--
Jabber: edoardopa@talk.google.com
tel: 075 9142766
Re: right place for planet and roller-custom.properties
Posted by Edoardo Panfili <ed...@aspix.it>.
Dave ha scritto:
> On Mon, Mar 10, 2008 at 7:14 PM, Edoardo Panfili <ed...@aspix.it> 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: edoardopa@talk.google.com
tel: 075 9142766
Re: right place for planet and roller-custom.properties
Posted by Dave <sn...@gmail.com>.
On Mon, Mar 10, 2008 at 7:14 PM, Edoardo Panfili <ed...@aspix.it> 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.
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