Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 9121 invoked from network); 23 Jan 2000 23:01:36 -0000 Received: from pop.systemy.it (194.20.140.28) by 63.211.145.10 with SMTP; 23 Jan 2000 23:01:36 -0000 Received: from apache.org (pv32-pri.systemy.it [194.21.255.32]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id AAA20274 for ; Mon, 24 Jan 2000 00:01:32 +0100 Message-ID: <388B7CF8.310989BB@apache.org> Date: Sun, 23 Jan 2000 23:13:12 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,it MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: requires JDK 1.2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ricardo Rocha wrote: > > On Jan-23-2000 Mike Engelhart wrote: > > > Unfortunately I have found a Java 2 dependency in XSPClassLoader.java > > (Cocoon 1.6) > > Line 82-83 has this: > > if (bits == null) { > > ClassLoader cl = getParent(); // Hmmm... > > (Notice the comment in the source) > > This class (like all XSP-related classes) was modified to remove > dependencies on Java2. In particular, getParent() (Java2) has > been replaced by this.getClass().getClassLoader() (Jdk 1.1). XSP > was never meant to require Java2, so all early-development > dependencies were removed prior to releasing Cocoon 1.6. > > > Can anyone tell me how to get around this so I can recompile and get this > > working so I don't have to go back to the dreaded JSP model of > > programming. I can't wait for Cocoon 1.7 to have this fixed. I'm not sure > > what that call is in there for so any workarounds would be greatly > > appreciated. You also may want to change the docs to say that Cocoon > > requires Java 2 to work with XSP so others don't get frustrated with this. > > Since this class was last modified on Jan-15 and Cocoon 1.6 was released > on Jan-18, I can only assume your Cocoon version is out date. You may > download the most recent Cocoon jar or check it out of the CVS. Wrong. I tagged Cocoon 1.6 the day _before_ Jan 15. BTW, I'm coming up with a 1.6.1 in a few days. Ok for you guys? -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Come to the first official Apache Software Foundation Conference! ------------------------- http://ApacheCon.Com ---------------------