velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Devyatovsky <s...@devyatovsky.com>
Subject Re[2]: JarResourceLoader
Date Fri, 04 Mar 2005 04:06:14 GMT
Hello Shinobu,

>>  If I use JarResourceLoader, will any uploads of new .jar with
>>  templates be notified by it?
>>  I.e., I first uploaded templates.jar, started webapp,
>>  then reuploaded modified templates.jar - will my modifications
>>  take place without restarting webapplication?
SK> It should.  If you look at the JarResourceLoader implementation,
SK> you'll notice that isSourceModified is always true.
In that case, it will always recompile the Velocity templates from
.JAR file, no matter what? That's not too performance-wise in that
case.

-- 
Best regards,
 Stan                            mailto:stan@devyatovsky.com


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


Mime
View raw message