From dev-return-91109-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Sun Dec 03 18:36:25 2006 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 29328 invoked from network); 3 Dec 2006 18:36:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2006 18:36:22 -0000 Received: (qmail 1712 invoked by uid 500); 3 Dec 2006 18:36:21 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 1631 invoked by uid 500); 3 Dec 2006 18:36:20 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 1484 invoked by uid 99); 3 Dec 2006 18:36:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 10:36:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ml@wrinkledog.com designates 207.162.210.50 as permitted sender) Received: from [207.162.210.50] (HELO wrinkledog.com) (207.162.210.50) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 03 Dec 2006 10:36:07 -0800 Received: (qmail 2871 invoked by uid 0); 3 Dec 2006 18:35:45 -0000 Received: from unknown (HELO ?192.168.0.5?) (ml@67.171.172.83) by wrinkledog.com with SMTP; 3 Dec 2006 18:35:45 -0000 Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <67f608380612030450o30bb972bof5d2189ca8895b43@mail.gmail.com> References: <4146223.1160158044580.JavaMail.root@brutus> <24256541.1165098922642.JavaMail.jira@brutus> <67f608380612030450o30bb972bof5d2189ca8895b43@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-1-32663728 Message-Id: <342062997a9be743738c06abaea795e1@wrinkledog.com> From: Mark Lundquist Subject: Re: [jira] Commented: (COCOON-1929) [PATCH] Reloading classloader in Cocoon 2.2 Date: Sun, 3 Dec 2006 10:35:41 -0800 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.624) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-32663728 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; format=flowed On Dec 3, 2006, at 4:50 AM, Gabriele Columbro wrote: > Hi Mark (Maurizio is here on my side not answering due to annoying=20 > mail server issues) bummer :-/ > and we're working on reloading classloader configuration. > You're right, the TreeProcessor already behaves like this, by checking=20= > the value of > > org.apache.cocoon.reloading=3D[yes,no] right... > used also to control sitemap reloading. You can then easily configure=20= > this value differently in the different modes, e.g. dev mode uses=20 > 'yes'. right... > We preferred not to add yet another property since the class reloading=20= > functionality is about a very similar concern (actually reloading is=20= > pretty generic). +1. So, I misunderstood Maurizio's comment, you are not using the mode=20 directly but using o.a.c.reloading? I didn't see any reference to it=20 in the patch files (but I didn't see any reference to o.a.c.mode,=20 either). I did spot a typo :-)...=20 "cocoon-bootstrap-realoding-classloader-factory.xconf" > Is this what you meant? Yes. > As side note, did you already try the reloading classloader sample,=20 > which you can reach at [1], running cocoon-dist-samples block ? Not yet, but I will! :-) Thanks a lot for this. =97ml=97 --Apple-Mail-1-32663728 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=WINDOWS-1252 On Dec 3, 2006, at 4:50 AM, Gabriele Columbro wrote: Hi Mark (Maurizio is here on my side not answering due to annoying mail server issues) bummer :-/ and we're working on reloading classloader configuration. You're right, the TreeProcessor already behaves like this, by checking the value of=20 org.apache.cocoon.reloading=3D[yes,no] right... used also to control sitemap reloading. You can then easily configure this value differently in the different modes, e.g. dev mode uses 'yes'. right... We preferred not to add yet another property since the class reloading functionality is about a very similar concern (actually reloading is pretty generic).=20 +1. So, I misunderstood Maurizio's comment, you are not using the mode directly but using o.a.c.reloading? I didn't see any reference to it in the patch files (but I didn't see any reference to o.a.c.mode, either). I did spot a typo :-)... "cocoon-bootstrap-realoding-classloader-factory.xconf" Is this what you meant? Yes. As side note, did you already try the reloading classloader sample, which you can reach at [1], running cocoon-dist-samples block ? Not yet, but I will! :-) Thanks a lot for this. =97ml=97 --Apple-Mail-1-32663728--