From cocoon-dev-return-32168-apmail-xml-cocoon-dev-archive=xml.apache.org@xml.apache.org Mon Oct 21 16:06:26 2002 Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 12623 invoked by uid 500); 21 Oct 2002 16:06:25 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 12538 invoked from network); 21 Oct 2002 16:06:21 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Antonio Gallardo Rivera Organization: AG Software, S. A. To: cocoon-dev@xml.apache.org Subject: Re: [2.1]Lastest CVS build broken (EsqlConnection) Date: Mon, 21 Oct 2002 10:07:21 -0600 User-Agent: KMail/1.4.3 References: <200210200825.35573.agallardo@agsoftware.dnsalias.com> <20021021073820.GD1019@bremen.dvs1.informatik.tu-darmstadt.de> <20021021082533.GE1019@bremen.dvs1.informatik.tu-darmstadt.de> In-Reply-To: <20021021082533.GE1019@bremen.dvs1.informatik.tu-darmstadt.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210211007.21397.agallardo@agsoftware.dnsalias.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I did a total new cocoon CVS 2.1 It compiles, but now the problem is that the esql.xsl stylesheet is not=20 present into any generated .jar. I guess it must be automatically include= d at=20 build time into any of these files: cocoon-databases-block.jar cocoon-2.1-dev.jar But this is not. I can put it manually the esql.xsl to make it work, but = this=20 is an error at buid time. This does not matter how many times you run the= =20 build or if you use only build.sh or any combinations with the webapp. My build command is: *************************************** =2E/build.sh -Dinclude.webapp.libs=3Dtrue -Dinclude.scratchpad.libs=3Dtru= e=20 installwar=20 *************************************** The error is clear, it cannot find the esql.xsl to process database tags = in=20 XSP: *************************************************************************= ******** org.apache.cocoon.ProcessingException: Exception during processing of=20 cocoon://my-checkuser?password=3Dmypass&name=3Dmyname:=20 org.apache.cocoon.ProcessingException: Could not transform=20 resource://org/apache/cocoon/components/language/markup/xsp/java/esql.xsl= :=20 org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in= =20 creating Transform Handler *************************************************************************= **** Regards, Antonio Gallardo El Lunes, 21 de Octubre de 2002 02:25, Christian Haul escribi=F3: > On 21.Oct.2002 -- 09:38 AM, Christian Haul wrote: > > On 20.Oct.2002 -- 11:44 PM, Torsten Curdt wrote: > > > On Sun, 2002-10-20 at 20:40, Antonio Gallardo Rivera wrote: > > > > Thanks for your prompt request. > > > > > > > > I checked it. The build.sh recongnize my 1.4 VM. It select 1.4 JV= M. > > > > But I think there is a problem inside the database-block. I think > > > > this is not a question about the java version of the compiler: > > > > > > I am pretty sure it is :) > > > > > > Have a look at the original source code: > > > > > > http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/blocks/databases/= java > > >/org/apache/cocoon/components/language/markup/xsp/EsqlConnection.jav= a > > > > > > You will see the @JDBC3_START@ and @JDBC3_END@ markers. They are us= ed > > > by the build system to uncomment the necessary implementations > > > depending on the JVM version. So I guess the transition into the > > > database block broke this mechanism. > > > > > > This needs to be fixed... > > > > > > So you have 4 options: > > > 1) you fix it (and provide a patch) > > > 2) you uncomment the code by yourself > > > 3) you use JDK 1.3 > > > 4) wait for someone else to do it > > > > OK, looks like it's my fault, although my local repository does the > > commenting / uncommenting right (sun j2sdk 1.4.1 and blackdown > > 1.3.1_02FCS on debian linux). Must have missed a file during cvs > > update.... will look into this. > > I did a fresh checkout and could not reproduce any problem related to > jdbc3 / jdk 1.4. Antonio, please delete your cvs snapshot and try > again with a fresh one. > > =09Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org