Nicolas,
I'm not sure you can reload themes without restarting the web-app. Order doesn't matter in a properties file. I haven't tested the following, so it may not work... To reload velocity code -- Try changing these lines in your config file: webapp.resource.loader.cache=false class.resource.loader.cache=false velocimacro.library.autoreload=false (They're all set to true in the default file, but should be set to false). Now restart roller. /B > From: [EMAIL PROTECTED] > To: [email protected] > Subject: RE: Velocity Reloaded > Date: Tue, 7 Oct 2008 12:31:10 +0200 > > Hi Brian, > > My config file is the following : > > # specify resource loaders to use > resource.loader = webapp, theme, roller, class, file > file.resource.loader.class=org.apache.velocity.runtime.resource.loader.FileR > esourceLoader > file.resource.loader.path=C:/eclipse/workspace-roller/Roller/build/webapp/th > emes/sotto > file.resource.loader.cache=false > file.resource.loader.modificationCheckInterval=2 > > Is there any order for resource.loader ? file before theme ? theme before > file ? > Is it a good config or there is no possible to reload theme but just > external vm ? > > Thank you very much. Best regards Nicolas, > > > -----Message d'origine----- > De : Brian Levine [mailto:[EMAIL PROTECTED] > Envoyé : mardi 7 octobre 2008 11:16 > À : [email protected] > Objet : RE: Velocity Reloaded > > > > Nicolas, > > I'm guessing, but shouldn't this: > file.resource.loader.cache=true > > be this: > file.resource.loader.cache=false > > /Brian > > > > From: [EMAIL PROTECTED] > > To: [email protected] > > Subject: Velocity Reloaded > > Date: Tue, 7 Oct 2008 09:33:32 +0200 > > > > Hello, > > > > > > > > I would like to be able to develop new theme with filesystem because our > > graphists are disappointed with database model development. > > > > For us (developer) it is not a problem to work with web UI for theme > > reloading. We are developing great themes with a lot of JS (jquery) and we > > are losing too much time with this method. I am a evangelist roller in my > > company (15 persons) therefore people working with Wordpress are trying to > > kick off Roller. I would be very happy to have a simple solution to ease > us. > > > > > > > > I spent a lot of time to search into forum. I read it : > > > > > > > > In velocity properties : > > > > > > > > resource.loader= . , file > > > > > file.resource.loader.class=org.apache.velocity.runtime.resource.loader.FileR > > esourceLoader > > > > file.resource.loader.path=c:/roller/templates > > > > file.resource.loader.cache=true > > > > file.resource.loader.modificationCheckInterval=2 > > > > > > > > Therefore it is not good. I do not understand how to do it. When I did any > > modification into Weblog.vm there is no changes. > > > > > > > > Are there other parameters ? > > > > > > > > Thank you very much for your help. > > > > > > > > Best regards, Nicolas > > > > _________________________________________________________________ > Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!55 > 0F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 > _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
