Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 21488 invoked from network); 20 Aug 2009 07:35:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 07:35:33 -0000 Received: (qmail 70989 invoked by uid 500); 20 Aug 2009 07:35:51 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 70952 invoked by uid 500); 20 Aug 2009 07:35:51 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 70901 invoked by uid 99); 20 Aug 2009 07:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:35:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.85.219.222] (HELO mail-ew0-f222.google.com) (209.85.219.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:35:43 +0000 Received: by ewy22 with SMTP id 22so4861417ewy.28 for ; Thu, 20 Aug 2009 00:35:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.6.198 with SMTP id 48mr1762803wen.200.1250753721247; Thu, 20 Aug 2009 00:35:21 -0700 (PDT) In-Reply-To: <2D635B7F-4FBF-4B10-AD9A-604027CFF674@gmail.com> References: <2D635B7F-4FBF-4B10-AD9A-604027CFF674@gmail.com> Date: Thu, 20 Aug 2009 09:35:21 +0200 Message-ID: Subject: Re: plugin classloader question From: Trygve Hardersen To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016364d1d9141a9cb04718dcb97 X-Virus-Checked: Checked by ClamAV on apache.org --0016364d1d9141a9cb04718dcb97 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I filed GERONIMO-4807 for this. Thanks! Trygve On Wed, Aug 19, 2009 at 8:35 PM, Kevan Miller wrote: > > On Aug 18, 2009, at 1:02 PM, Trygve Hardersen wrote: > > Sometimes asking the questions makes you think.... >> >> It seems this can be achieved using the "hidden-classes" element in the >> module definition. I was probably fooled by Quartz logging version "1.5.2" >> even if the version really was "1.6.5". I looked at the Quartz source and >> they are loading the version numbers from a file "build.properties": >> >> is = QuartzScheduler.class.getResourceAsStream("/build.properties"); >> >> I tried to add a "hidden-classes" filter on both "build.properties" and >> "/build.properties", but I don't think it is excluded. I guess the >> "hidden-classes" functionality treats this as a package name. Any way to >> escape it? >> > > Hmm. Don't think there's a way to avoid this, at the moment. As you > surmise, MultiParentClassLoader is going to change the 'build.properties' > into 'build/properties'. > > Can you creat a Jira, for this? > > --kevan > --0016364d1d9141a9cb04718dcb97 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I filed GERONIMO-4807 for this.

Thanks!

Trygve

On Wed, Aug 19, 2009 at 8:35 PM, Kevan Miller <kevan.miller@gmail.c= om> wrote:

On Aug 18, 2009, at 1:02 PM, Trygve Hardersen wrote:

Sometimes asking the questions makes you think....

It seems this can be achieved using the "hidden-classes" element = in the module definition. I was probably fooled by Quartz logging version &= quot;1.5.2" even if the version really was "1.6.5". I looked= at the Quartz source and they are loading the version numbers from a file = "build.properties":

is =3D QuartzScheduler.class.getResourceAsStream("/build.properties&qu= ot;);

I tried to add a "hidden-classes" filter on both "build.prop= erties" and "/build.properties", but I don't think it is= excluded. I guess the "hidden-classes" functionality treats this= as a package name. Any way to escape it?

Hmm. Don't think there's a way to avoid this, at the moment. As you= surmise, MultiParentClassLoader is going to change the 'build.properti= es' into 'build/properties'.

Can you creat a Jira, for this?

--kevan

--0016364d1d9141a9cb04718dcb97--