Hi Neil,

I've had the same problem. I don't completely understand the build.xml, but
I assume that it looks for the "java.sql.Savepoint" class, in the classpath.
I've checked it and that should be the case with my setup, same as you! It
then replaces JDBC3_START and _END in any source, I suppose, with "". That
would remove the comments around the JDBC 3.0 methods in EsqlConnection.
However, there aren't any JDBC3_xxx tags in any source files, so maybe it's
an oversight, or as I said, I don't understand the functionality.

Anyway, manually removing the offending comments in EsqlConnection.java (the
one in %COCOON_HOME%\src\java\org\apache\...) got me past the build errors
and 2.0.2 now runs under Tomcat 4.0.3 and JDK 1.4 - mind you Esql could be
broken, I'll discover that later!

Perry

-----Original Message-----
From: neil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 March 2002 14:09
To: [EMAIL PROTECTED]
Subject: build error: cocoon-2.0.2, jdk-1.4, Win2000


In a dos box:
  set PATH=C:\WINNT\system32;C:\WINNT
  set CLASSPATH=
  build clean
  build

First error:

C:\Neil\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\language\
mark
up\xsp\EsqlConnection.java:66: class
org.apache.cocoon.components.language.marku
p.xsp.EsqlConnection must be declared abstract. It does not define int
getHoldability() from interface java.sql.Connection.
public class EsqlConnection implements Connection {

followed by 11 more.

An earlier post:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101622718100348&w=2
suggested to ensure that no older jdk's are in the PATH or CLASSPATH,
but I think I've taken care of that.

Some <echo>s I've added to build.xml seem to show that jdbc3.present is
properly set:
filter-jdbc:
nofilter-jdbc:
     [echo] in nofilter-jdbc



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to