Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 42629 invoked from network); 25 Sep 2008 17:17:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2008 17:17:45 -0000 Received: (qmail 80644 invoked by uid 500); 25 Sep 2008 17:17:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 80448 invoked by uid 500); 25 Sep 2008 17:17:43 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 80437 invoked by uid 99); 25 Sep 2008 17:17:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 10:17:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.54] (HELO smtp109.prem.mail.sp1.yahoo.com) (98.136.44.54) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Sep 2008 17:16:40 +0000 Received: (qmail 82074 invoked from network); 25 Sep 2008 17:16:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=OOR/gxSpQwltF87IiW6zFyyJ8lOoJEeHXU7PkEUzpmHR6+2G8PgXgZFjwLJRN8+PWgPldtgorOMqMfHo+effuHteONhdCpKk8G7Zf8luI6gMOKcjFAkp3PsB4k2DTtPcgb52n4Zoo3sNJvmcEG5qCi7I3ODSGMYZLenEnxsa7Ko= ; Received: from unknown (HELO ?10.11.55.45?) (david_jencks@63.105.20.225 with plain) by smtp109.prem.mail.sp1.yahoo.com with SMTP; 25 Sep 2008 17:16:13 -0000 X-YMail-OSG: U_2uQj4VM1lJzLohcyuMsmQNWaMvvHDbybTyWsCpuvJLMPkNOcNSvpqokCWDIWyZ8mvsjNu0YBzR7fyZvR7xjWUWnKmWieNRvL3n29OoS4kAmkhDaAHC.hYoZtZBQyn83MQ1I8nO6vniUX_Admwc1ampx7nP X-Yahoo-Newman-Property: ymail-3 Message-Id: <0291E7BE-38D2-47BB-9ABB-54D1F953C250@yahoo.com> From: David Jencks To: "Apache Directory Developers List" In-Reply-To: <78E80ACA-1AC8-40AC-808A-B483CD3CF64D@yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Problem with plugins and default type Date: Thu, 25 Sep 2008 10:16:11 -0700 References: <78E80ACA-1AC8-40AC-808A-B483CD3CF64D@yahoo.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org sorry guys wrong list david jencks On Sep 25, 2008, at 9:59 AM, David Jencks wrote: > I'm finding some problems with apps packaged as plugins, see > GERONIMO-4323 > > Here's the text... > AbstractRepository.copyToRepository bases the decision on whether to > unpack or copy an artifact on the type. Since all it gets is a > stream and artifact, I don't see any obvious ways to change this > behavior: to actually detect if something is a plugin you'd have to > look at the content, which isn't available when the decision is made. > > I can see several ways out: > > 1. make all plugins be of type car > 2. make packed plugins work (would require a new classloader and > might cause difficulties with tomcat and openejb integration) > 3. copy the file packed, peek inside, and unpack if necessary. > > Unless there's strong opposition I'm going to try to implement (1). > > Comments? > > thanks > david jencks