Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 95449 invoked from network); 14 Aug 2007 12:51:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 12:51:52 -0000 Received: (qmail 70393 invoked by uid 500); 14 Aug 2007 12:51:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70171 invoked by uid 500); 14 Aug 2007 12:51:49 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 70130 invoked by uid 99); 14 Aug 2007 12:51:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 05:51:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 12:51:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 26B4B7141F0 for ; Tue, 14 Aug 2007 05:51:31 -0700 (PDT) Message-ID: <32741747.1187095891153.JavaMail.jira@brutus> Date: Tue, 14 Aug 2007 05:51:31 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2906) derbynet.jar & derbytools.jar incorrectly have a META-INF/services/java.sql.Driver entry In-Reply-To: <21901435.1183675144436.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-2906: ----------------------------------- Attachment: derby-2906-1a.diff '/tmp/derby-2906-1a.diff' adds a delete action to the start of each jar build target. This ensures that nothing more than necessary is included in the jar file (primarily from the META-INF directory), and it also requires the targets to add everything that is needed themselves. I compared the contents in the jars, and the only change I observed was the exclusion of the META-INF/services directory from jars that shouldn't autoload a Derby driver (only derby.jar and derbyclient.jar should). Note that I added the delete action to all jar build targets. I'm running suites.All. Unless I get pushback, I will commit tomorrow and then merge the fix to the other branches in a week or so. > derbynet.jar & derbytools.jar incorrectly have a META-INF/services/java.sql.Driver entry > ---------------------------------------------------------------------------------------- > > Key: DERBY-2906 > URL: https://issues.apache.org/jira/browse/DERBY-2906 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.2.2.0, 10.3.0.0, 10.3.1.0, 10.4.0.0 > Reporter: Daniel John Debrunner > Assignee: Kristian Waagan > Priority: Minor > Attachments: derby-2906-1a.diff > > > Only the jar files that contain the driver should have the autoloading services file for the JDBC driver. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.