Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 35065 invoked from network); 4 Jan 2007 10:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2007 10:05:14 -0000 Received: (qmail 14264 invoked by uid 500); 4 Jan 2007 10:05:20 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 13702 invoked by uid 500); 4 Jan 2007 10:05:18 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 13691 invoked by uid 99); 4 Jan 2007 10:05:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 02:05:18 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of nicolas.deloof@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 02:04:30 -0800 Received: by ug-out-1314.google.com with SMTP id 32so5692485ugm for ; Thu, 04 Jan 2007 02:04:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Z1X8WyaijA3QieZhVy6Nm4rozrVvnyVJl5RXX5WhvkLJGhPNxXUNxm6pJoof9goh2Kfph0vDbFLm/crAOSSXlmYgHEmK3hjN/WdM5FSA1lBCA7Fh+9WGpa6pBbGIBoVp+GCvMepLuLyn16rNjfvqMRYh7u2vgd3N6ybFR0Bg51Q= Received: by 10.78.193.19 with SMTP id q19mr3886106huf.1167905048879; Thu, 04 Jan 2007 02:04:08 -0800 (PST) Received: by 10.78.131.6 with HTTP; Thu, 4 Jan 2007 02:04:08 -0800 (PST) Message-ID: <4c39e3030701040204x278a77c5n67099430a55b0d43@mail.gmail.com> Date: Thu, 4 Jan 2007 11:04:08 +0100 From: "nicolas de loof" To: "Jakarta Commons Developers List" Subject: Re: REPOST [attributes 2.2] Missing optional package Extension In-Reply-To: <31cc37360701040050q29af2cdfvbe8e9a00fd7400b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12806_13647194.1167905048851" References: <4c39e3030612202249l7ead00a3g3b4475d88a2cadd1@mail.gmail.com> <4c39e3030701032352o735b111ejc335e10101736bdb@mail.gmail.com> <31cc37360701040050q29af2cdfvbe8e9a00fd7400b8@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12806_13647194.1167905048851 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline According to SVN log, the manifest has been added by "bayard". The maven generated manifest is not used (why ?) I also notice maven.compiler.target has been set to 1.4 during 2.2 (rev 410143 by leosutic) that will break backward compatibility : I'm using commons-attributes on other projects on JRE 1.3. I've tested some changes from commons-attributes trunk : change maven.compiler.source and maven.compiler.target to 1.3 in project.properties remove manifest.mf from "api" sub-project remove dependencies in api/project.xml (as they are only required by compiler) With those changes, my webapp launch fine and run as expected. >From what I've read, Extension-List is used to allow downloading of libs at runtime when not available in classpath. As ant and qdox manifest don't declare themself as extensions, the extension resolution fails. I'd suggest a new release as compatibility with 1.3 is blocking for me to upgrade. Nico. 2007/1/4, Henri Yandell : > > On 1/3/07, nicolas de loof wrote: > > Hello, > > > > I'm using commons-attributes with Spring on a Java 1.4 application. > > I've included commons-attributes-api 2.2 (from maven repo) > > > > I get this Tomcat exception on startup : > > LifecycleException: Missing optional package Extension[ant, > > implementationURL= http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar, > > implementationVersion=1.5] > > > > The commons-attributes MANIFEST contains those lines : > > Extension-List: ant qdox > > ant-Extension-Name: ant > > ant-Implementation-Version: 1.5 > > ant-Implementation-URL: > http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar > > qdox-Extension-Name: qdox > > qdox-Implementation-Version: 1.5 > > qdox-Implementation-URL: > http://www.ibiblio.org/maven/qdox/jars/qdox-1.5.jar > > > > > > I don't know what this "Extension-List" is and why is it required by > > commons-attributes. AFAIK, the API doesn't require those libs anyway > (only > > the compiler do). > > > > Is this a bug, and what would be a workaround ? > > AFAIK there is no development anymore on commons-attributes, so I can't > ask > > for a 2.2.1 to correct this. How to handle this "Extension-List" ? > > > > I've added ant and qodx in my WEB-INF/lib with no result. > > I've no idea on the specific problem you're facing, but if a solution > turns up I could try to push out a 2.2.1 release to correct it. I > imagine removing the bits from the manifest would solve things - have > you tried deleting them to see if things work? > > That'd be my first step. Then I'd google around to see if I can figure > out what they're for. Then either suggest a new release or a > workaround. > > Hen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > ------=_Part_12806_13647194.1167905048851--