velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mailmur <mail...@yahoo.com>
Subject Re: Velocity template reloading question
Date Sun, 14 Oct 2007 10:48:26 GMT
Subversion web access:
http://svn.apache.org/repos/asf/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoader.java

well, default value is "2", but then it is not :-)

Introducing a variable uses a value "2", but
commonInit() method overrides the default value to
"0". Default value is used used property is missing or
invalid numeric format.


--- John <jcubed@gmail.com> wrote:
> What happens if your velocity properties file has
> "file.resource.loader.cache = true", but is missing
> the "file.resource.loader.modificationCheckInterval"
> property? What value does that property default to?
> 
> I checked the documentation, and I know it says when
> you set that value to <= 0, you disable checking.
However I couldn't find out the default value when NO
value was set.
> 
> Regards
> John
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@velocity.apache.org
> For additional commands, e-mail:
> user-help@velocity.apache.org



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message