Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 66135 invoked from network); 27 Mar 2005 15:42:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Mar 2005 15:42:27 -0000 Received: (qmail 3728 invoked by uid 500); 27 Mar 2005 15:42:25 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 3679 invoked by uid 500); 27 Mar 2005 15:42:24 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 3665 invoked by uid 99); 27 Mar 2005 15:42:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from dd2020.kasserver.com (HELO dd2020.kasserver.com) (81.209.148.130) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 27 Mar 2005 07:42:24 -0800 Received: from [192.168.1.107] (pD95D8F73.dip.t-dialin.net [217.93.143.115]) by dd2020.kasserver.com (Postfix) with ESMTP id 66A121B3A96 for ; Sun, 27 Mar 2005 17:42:20 +0200 (CEST) Message-ID: <4246D460.2030603@apache.org> Date: Sun, 27 Mar 2005 17:42:24 +0200 From: Torsten Curdt User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Experimental per-sitemap reloadable classloader References: <422E2C9E.9090608@apache.org> <424256D8.6080400@apache.org> <42427054.4070105@apache.org> <42427D57.4060604@apache.org> In-Reply-To: <42427D57.4060604@apache.org> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2ABE8ECD26F274C7C137692E" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2ABE8ECD26F274C7C137692E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Torsten Curdt wrote: >>The only thing missing is the automatic reload of classes (you still >>need to touch the sitemap, which I sometimes forget), > > > Nah... almost there. Will finish that up over Easter. Tadaaa! :) ...ok - now if you use the "classpath" directive the ConcreteTreeProcessor will be subscribed to the SitemapMonitor. The SitemapMonitor uses the jci FilesystemAlterationMonitor to monitor the given resources. It's now a single thread checking every few seconds. Filesystem changes will mark the ConcreteTreeProcessor to be replaced on the next request. So just point it to you eclipse build directory and you don't need to bother about the reloads anymore :) Sylvain, I noticed a problem with the classpath directive though. As soon as I have component declaration in the map:components section I get an exception: A DefaultServiceSelector can only be hosted by a CoreServiceManager (Key='DefaultServiceSelector') cheers -- Torsten --------------enig2ABE8ECD26F274C7C137692E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCRtRgBGM6V3wgCUERAieKAJ9RMqMFylZGDRs3iaIsmg8ytfwUHgCeOrYM 6snbgqQGflF42h2kZgWs8HY= =hEoN -----END PGP SIGNATURE----- --------------enig2ABE8ECD26F274C7C137692E--