Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 86553 invoked from network); 27 Nov 2010 19:47:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Nov 2010 19:47:06 -0000 Received: (qmail 41066 invoked by uid 500); 27 Nov 2010 19:47:06 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 41032 invoked by uid 500); 27 Nov 2010 19:47:05 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 41023 invoked by uid 99); 27 Nov 2010 19:47:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 19:47:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jmf.tuplaza@gmail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bw0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 19:46:58 +0000 Received: by bwz17 with SMTP id 17so2781681bwz.9 for ; Sat, 27 Nov 2010 11:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=7D6cMG/K169U1+IPMcjWxcyEmv85pL44ait1BgKjECw=; b=RMjVPkU9qYUdUKLWAoJh9rn4VOdhK4yzMzBBCRsm4kjzE4YkdE7aGlJRnIQtB57PuF I+5fzFsVbNBr7qEie4+Sj4Mj+SZ3Pwy7v0sfF0HYG395u9dZFS2aJu2gSEpuCgGFWKvN n9GQR8lut+jOptarPz42VuYuITuYLIqVS1HaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=HLGo69pOHRDscTF0Oi89fdOBGjx1fkoedoqgSGIUnb07IUuLkvQww573sCMQdReBC/ Gzh7ojlfWtrXY1Ac9B8AmxOWDgR18yk2yfPXc0vURRYfz8/cMA4cdVEeFSe4PVc09jpG Sa5WIwvlEu09IN/Od3uFGdMMACP/+CHa6Q90s= MIME-Version: 1.0 Received: by 10.204.119.15 with SMTP id x15mr3209110bkq.22.1290887197234; Sat, 27 Nov 2010 11:46:37 -0800 (PST) Received: by 10.204.54.17 with HTTP; Sat, 27 Nov 2010 11:46:37 -0800 (PST) In-Reply-To: References: Date: Sat, 27 Nov 2010 20:46:37 +0100 Message-ID: Subject: Re: Disable template caching? From: Jorge Martinez To: user@roller.apache.org Content-Type: multipart/alternative; boundary=00504502cebed617f904960e1856 X-Virus-Checked: Checked by ClamAV on apache.org --00504502cebed617f904960e1856 Content-Type: text/plain; charset=ISO-8859-1 Hi Edd, There is a velocity engine property named 'velocimacro.library.autoreload'. If set to 'true', you can change velocimacros 'on-the-fly' without restarting servlet container. It worked for me, but if not, try to use it in conjuntion with file.resource.loader.cache = false Take a look to this: http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html Hope this helps Jorge 2010/11/27 Edd Grant > Hi All, > > I have been doing a spot of work on my custom theme and was wondering if > there is there a way to switch off template caching while developing theme > templates to speed up development? > > Currently I'm doing the following: > > 1: Modify template > 2: /etc/init.d/tomcat6 restart > 3: Reload page and check change > 4: Repeat ad nauseum > > As you can probably imaging this technique is incredibly clunky - most > grateful if anyone knows of a more expedient way to force my template > changes to be read. > > Cheers, > > Edd > > -- > Mobile: +44 (0) 7861 394 543 > Web: http://www.eddgrant.com > -- Jorge Martinez 630934694 --00504502cebed617f904960e1856--