Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 75551 invoked from network); 2 Jun 2008 16:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 16:23:04 -0000 Received: (qmail 94299 invoked by uid 500); 2 Jun 2008 16:23:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94273 invoked by uid 500); 2 Jun 2008 16:23:06 -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 94262 invoked by uid 99); 2 Jun 2008 16:23:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 09:23:06 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.43.132] (HELO sca-es-mail-1.sun.com) (192.18.43.132) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 16:22:16 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m52GMWB7029708 for ; Mon, 2 Jun 2008 09:22:32 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K1U00H01FZC6800@fe-sfbay-10.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Mon, 02 Jun 2008 09:22:32 -0700 (PDT) Received: from richard-hillegas-computer.local ([129.150.16.124]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K1U00GN5G5K1G80@fe-sfbay-10.sun.com> for derby-dev@db.apache.org; Mon, 02 Jun 2008 09:22:32 -0700 (PDT) Date: Mon, 02 Jun 2008 09:22:31 -0700 From: Rick Hillegas Subject: Re: Is xml-apis.jar still needed? In-reply-to: <4843F19A.2030202@sun.com> Sender: Richard.Hillegas@Sun.COM To: derby-dev@db.apache.org Message-id: <48441E47.7030400@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <48427230.4070405@sun.com> <4842785A.1070507@sun.com> <484282FF.5020300@sun.com> <4843F19A.2030202@sun.com> User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) X-Virus-Checked: Checked by ClamAV on apache.org The regression tests ran cleanly for me after removing this jar file and rebuilding Derby. Regards, -Rick Rick Hillegas wrote: > Hi Knut, > > I think that xml-apis.jar was added in revision 395643. Here's the svn > info entry for that submission: > > ------------------------------------------------------------------------ > r395643 | fuzzylogic | 2006-04-20 10:07:39 -0700 (Thu, 20 Apr 2006) | > 4 lines > > DERBY-1078: Move more files to 1.3 source/target tags. Add xml-api > jars to > compile XML classes with 1.3. Break shared hierarchy up into 1.3 and > 1.4 parts. > JDK 1.3 now passes basic tests when compiled with 1.5. > > ------------------------------------------------------------------------ > > I have repeated your experiment of successfully building Derby without > xml-apis.jar. Narayanan raises a cautionary note about running the xml > tests so I'm running all the regression tests now. I'll let you know > how it turns out. > > Thanks, > -Rick > > Knut Anders Hatlen wrote: >> Narayanan wrote: >>> Knut Anders Hatlen wrote: >>>> Hi, >>>> >>>> I took a brief look at the contents of tools/java/xml-apis.jar in >>>> the subversion repository, and it looked as if most of the classes >>>> are part of the Java 1.4.2 runtime library. I also tried to remove >>>> the file and all references to it in the build system, and the code >>>> still built just fine. Does anyone know if the file is still >>>> needed? Or was it only needed before when we built the code against >>>> the Java 1.3 runtime library? >>>> >>>> Thanks, >>> I believe xalan 2.7 jars are needed to run xml tests. The jars that >>> come with 1.4 are 2.4.1 and are not sufficient. >> >> Thanks Narayanan, >> >> I'm aware of the fact that we need a newer Xalan for some of the XML >> support at runtime. What I would like to know, is if xml-apis.jar is >> still needed in order to build Derby. I think it mostly contains >> interfaces, not Xalan implementation classes, and these interfaces >> now seem to be part of Java SE. If it's not needed to build Derby >> anymore, I think it would be good to remove it from the repository. >> The fewer third-party jar files we have checked in, the better, IMO. >> >