Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 27823 invoked from network); 31 Oct 2001 22:04:24 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 31 Oct 2001 22:04:24 -0000 Received: (qmail 5669 invoked from network); 31 Oct 2001 22:06:39 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 31 Oct 2001 22:06:39 -0000 Received: (qmail 22462 invoked by uid 97); 31 Oct 2001 22:04:11 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 22452 invoked by uid 97); 31 Oct 2001 22:04:10 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 21772 invoked from network); 31 Oct 2001 18:03:21 -0000 Message-ID: <3BE03D03.D5AB5979@sun.com> Date: Wed, 31 Oct 2001 10:03:47 -0800 From: Edwin Goei X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Developers List CC: general@xml.apache.org Subject: Re: xml-apis was RE: cvs commit: jakarta-ant build.xml References: <9B3E950CB293D411ADF4009027B0A4D20280FACA@maileu.imediation.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephane Bailliez wrote: > > > -----Original Message----- > > From: Edwin Goei [mailto:edwingo@sun.com] > > [...] > > On the other hand, if both the APIs and implementation > > classes are in a > > single jar file, it would not totally eliminate the problem, > > however, it > > is simplified. You would still have to tell users to put xerces.jar > > before xalan.jar, but at least you don't have to deal with an > > xml-apis.jar file on the classpath where it may be difficult to know > > which version it is (the xerces or xalan version). > > Each solution has its limit there. Simply because we don't want to put the > hassle on the user and avoid him to put 3 jars in the classpath we package > everything in a single one. > > More than often in real time case it appears you have to deal with old > versions because you did a development tighted to it (Say parser.jar and the > binding) and can't switch to a new version easily (you simply cannot > allocate time for it), and you want to benefit from some recent version of > Xalan 2.x for some other features (extended support of xsl) and xt for its > speed in some area. All this must work together. Add to this that you are > using castor that needs xerces for serialization and that it must run in > some version old version of tomcat or weblogic that mess everything and you > are in a real mess. > > I even encountered the case using OpenXML about an incorrect signature for a > method in a DOM interface... > > The fact that everyone want to bundle everything in a jar makes it a pain > because your only solution would be to hack the jars and remove all these > and explicitely separate this in dom1.jar, dom2.jar, sax1.jar, sax2.jar > because you end up with dependencies that you cannot control in a web > application and even sometimes you end up with circular dependencies. I don't have that much experience w/ working on web applications, but my guess would be that splitting API jar files would make the problem more difficult as there would be many more combinations. With a single project.jar file containing both API and implementation classes you would be sure that the classes within it would all be consistent. [snip] > > Yep I followed the thread a little bit and noticed that nearly everybody was > in favor of putting everything in the jar for 'ease' of use. > It probably makes it easier to use xalan and xerces in the command line, but > certainly not in a whole app that use lots of third-party related to XML. Yeah, I don't have much experience w/ third-party tools related to XML, but I don't see how this should make a difference. > > > BTW, it looks like the latest Ant dist comes with crimson 1.1.1. I'd > > recommend upgrading to at least the latest version 1.1.3. > > Stefan did the update to 1.1.3, thus this thread. OK, good. -- To unsubscribe, e-mail: For additional commands, e-mail: