« Return to Thread: change default.properties in jar

Re: change default.properties in jar

by Harry Metske :: Rate this Message:

Reply to Author | View in Thread

isn't easier to put the default.properties in WEB-INF/classes ?

(at least for Tomcat that is searched first before WEB-INF/lib/*.jar)

Harry

2009/5/19 Janne Jalkanen <janne.jalkanen@...>

>
> Yeah, you just need to make sure the resource is found first. For example,
> you could package the default.properties into aaa_myproperties.jar,
> and that would be found first in the classpath.
>
> /Janne
>
> On 19 May 2009, at 21:10, Louis.Masters@... wrote:
>
>  If I want to change a piece of text in the default.properties file in the
>> JSPWiki.jar, how would I go about doing that?  Can I override it somehow,
>> or should I go the unjar-change-jar route?
>>
>> Thanks,
>> Lou
>>
>
>

 « Return to Thread: change default.properties in jar