Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 81915 invoked from network); 5 May 2007 04:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2007 04:26:33 -0000 Received: (qmail 88191 invoked by uid 500); 5 May 2007 04:26:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 88055 invoked by uid 500); 5 May 2007 04:26:38 -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 88046 invoked by uid 99); 5 May 2007 04:26:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 21:26:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rmoazeni@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 21:26:30 -0700 Received: by wr-out-0506.google.com with SMTP id 25so1034385wry for ; Fri, 04 May 2007 21:26:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=PbdVYMbRouonR2qp3VoU3XSnqOaUA9lkEQV+sY9VmVS6U8v3DePg+zofLy7+MUHCLEJB2xMfXAiUouAU0nV/hH2EKiaQ26tSoFgW98KKw7q7W/uWrt4KB10gxXI5W6apxZsSBYQVK80DR+O+LUc/4IiSDF9j6CxEUQV/AtRcKbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OBcB4mmylqai0f+xoFJMzcVVvPLz0+p2XcXI2JW94gAnNnKAJs9loEfeKi/TyA8ooLJ6nIyQLGUgU6maiKXu+Jjpl9f64VOmYyOksh8jzJKxZfiSfp3DyaJfv6a4IMOUlV2PquzICP/K61/HE4RhkDT6TfFPLR1sOJ+pLz7RRDk= Received: by 10.115.47.1 with SMTP id z1mr1396333waj.1178339169461; Fri, 04 May 2007 21:26:09 -0700 (PDT) Received: by 10.114.176.4 with HTTP; Fri, 4 May 2007 21:26:09 -0700 (PDT) Message-ID: <926963240705042126p46eb360csc3b10470b417f688@mail.gmail.com> Date: Fri, 4 May 2007 21:26:09 -0700 From: "Ramin Moazeni" To: derby-dev@db.apache.org Subject: build error -- derby 10.2.2.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58540_33054533.1178339169403" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_58540_33054533.1178339169403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, While trying to build derby 10.2.2.0, I got the following errors. I followed the instructions in DUILDING.txt file. -----ant.properties-------- j13lib=/usr/java/jdk1.3.1_20/jre/lib/ j14lib=/usr/java/j2sdk1.4.2_14/jre/lib/ build.compiler=jikes proceed=true sane=false -----$DERBY_SRC/tools/java------ [rm145956@localhost java]$ ls empty.jar javacc.jar osgi.jar geronimo-spec-jta-1.0.1B-rc4.jar jce1_2_2.jar xercesImpl.jar geronimo-spec-servlet-2.4-rc4.jar jdbc2_0-stdext.jar xml-apis.jar jakarta-oro-2.0.8.jar junit.jar ------Error Log ------------ compile_iapi_jdbc_jdbc2: [javac] Compiling 2 source files to /home/rm145956/opensource/derby/db- derby-10.2.2.0-src/classes [javac] [javac] Found 1 semantic error compiling "BrokeredPreparedStatement.java ": [javac] [javac] 322. public final void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException [javac] ^-------------------------------------------------------------^ [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type " java.sql.PreparedStatement". [javac] [javac] Found 2 semantic errors compiling " BrokeredCallableStatement.java": [javac] [javac] <---------------------------------------------------------- [javac] 34. public class BrokeredCallableStatement extends BrokeredPreparedStatement [javac] 35. implements CallableStatement [javac] -------------------------------------> [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type " java.sql.PreparedStatement". [javac] [javac] [javac] <-------------------------------- [javac] 111. public final BigDecimal getBigDecimal(int parameterIndex, [javac] 112. int scale) [javac] -------------------------------------------------------> [javac] *** Semantic Error: The overridden method "java.math.BigDecimalgetBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.CallableStatement". compile_jdbc2: [javac] Compiling 2 source files to /home/rm145956/opensource/derby/db- derby-10.2.2.0-src/classes [javac] [javac] Found 1 semantic error compiling "/home/rm145956/opensource/derby/db-derby-10.2.2.0-src /java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java": [javac] [javac] 613. public void setUnicodeStream(int parameterIndex, InputStream x, int length) [javac] ^-------------------------------------------------------------^ [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type " java.sql.PreparedStatement". [javac] [javac] Found 1 semantic error compiling "/home/rm145956/opensource/derby/db-derby-10.2.2.0-src /java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java": [javac] [javac] <---------------------------------------------------- [javac] 49. public abstract class EmbedCallableStatement extends EmbedPreparedStatement [javac] 50. implements CallableStatement [javac] -----------------------------------> [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type " java.sql.PreparedStatement". [javac] [javac] Found 1 semantic error compiling "EmbedCallableStatement20.java ": [javac] [javac] 1063. public final BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException [javac] ^------------------------------------------^ [javac] *** Semantic Error: The overridden method "java.math.BigDecimalgetBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.CallableStatement". [javac] [javac] Found 4 semantic errors compiling "EmbedResultSet20.java": [javac] [javac] 98. public final BigDecimal getBigDecimal(int columnIndex, int scale) [javac] ^---------------------------------------^ [javac] *** Semantic Error: The overridden method "java.math.BigDecimalgetBigDecimal(int columnIndex, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet". [javac] [javac] [javac] 133. public final BigDecimal getBigDecimal(String columnName, int scale) [javac] ^-----------------------------------------^ [javac] *** Semantic Error: The overridden method "java.math.BigDecimalgetBigDecimal( java.lang.String columnName, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet". [javac] [javac] [javac] 146. public final java.io.InputStreamgetUnicodeStream(int columnIndex) throws SQLException { [javac] ^-------------------------------^ [javac] *** Semantic Error: The overridden method "java.io.InputStreamgetUnicodeStream(int columnIndex) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet". [javac] [javac] [javac] 153. public final java.io.InputStreamgetUnicodeStream(String columnName) throws SQLException { [javac] ^---------------------------------^ [javac] *** Semantic Error: The overridden method "java.io.InputStreamgetUnicodeStream( java.lang.String columnName) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet". ------=_Part_58540_33054533.1178339169403 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

While trying to build derby 10.2.2.0, I got the following errors. I followed the instructions in
DUILDING.txt file.

-----ant.properties--------
j13lib=/usr/java/jdk1.3.1_20/jre/lib/
j14lib=/usr/java/j2sdk1.4.2_14/jre/lib/
build.compiler=jikes
proceed=true
sane=false

-----$DERBY_SRC/tools/java------
[rm145956@localhost java]$ ls
empty.jar                          javacc.jar          osgi.jar
geronimo-spec-jta-1.0.1B-rc4.jar   jce1_2_2.jar        xercesImpl.jar
geronimo-spec-servlet-2.4-rc4.jar  jdbc2_0-stdext.jar  xml-apis.jar
jakarta-oro-2.0.8.jar              junit.jar

------Error Log ------------
compile_iapi_jdbc_jdbc2:
    [javac] Compiling 2 source files to /home/rm145956/opensource/derby/db-derby-10.2.2.0-src/classes
    [javac]
    [javac] Found 1 semantic error compiling "BrokeredPreparedStatement.java ":
    [javac]
    [javac]    322.     public final void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
    [javac]                               ^-------------------------------------------------------------^
    [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type "java.sql.PreparedStatement ".
    [javac]
    [javac] Found 2 semantic errors compiling "BrokeredCallableStatement.java":
    [javac]
    [javac]                      <----------------------------------------------------------
    [javac]     34. public class BrokeredCallableStatement extends BrokeredPreparedStatement
    [javac]     35.           implements CallableStatement
    [javac]         ------------------------------------->
    [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type "java.sql.PreparedStatement ".
    [javac]
    [javac]
    [javac]                                     <--------------------------------
    [javac]    111.     public final BigDecimal getBigDecimal(int parameterIndex,
    [javac]    112.                                               int scale)
    [javac]         ------------------------------------------------------->
    [javac] *** Semantic Error: The overridden method "java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException ;" is deprecated in type "java.sql.CallableStatement".

compile_jdbc2:
    [javac] Compiling 2 source files to /home/rm145956/opensource/derby/db-derby-10.2.2.0-src/classes
    [javac]
    [javac] Found 1 semantic error compiling "/home/rm145956/opensource/derby/db- derby-10.2.2.0-src/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement.java":
    [javac]
    [javac]    613.     public void setUnicodeStream(int parameterIndex, InputStream x, int length)
    [javac]                         ^-------------------------------------------------------------^
    [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException;" is deprecated in type "java.sql.PreparedStatement ".
    [javac]
    [javac] Found 1 semantic error compiling "/home/rm145956/opensource/derby/db-derby-10.2.2.0-src/java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java":
    [javac]
    [javac]                               <----------------------------------------------------
    [javac]     49. public abstract class EmbedCallableStatement extends EmbedPreparedStatement
    [javac]     50.         implements CallableStatement
    [javac]         ----------------------------------->
    [javac] *** Semantic Error: The overridden method "void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException ;" is deprecated in type "java.sql.PreparedStatement".
    [javac]
    [javac] Found 1 semantic error compiling "EmbedCallableStatement20.java":
    [javac]
    [javac]   1063.     public final BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException
    [javac]                                     ^------------------------------------------^
    [javac] *** Semantic Error: The overridden method "java.math.BigDecimal getBigDecimal(int parameterIndex, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.CallableStatement".
    [javac]
    [javac] Found 4 semantic errors compiling "EmbedResultSet20.java":
    [javac]
    [javac]     98.                 public final BigDecimal getBigDecimal(int columnIndex, int scale)
    [javac]                                                 ^---------------------------------------^
    [javac] *** Semantic Error: The overridden method "java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet".
    [javac]
    [javac]
    [javac]    133.                 public final BigDecimal getBigDecimal(String columnName, int scale)
    [javac]                                                 ^-----------------------------------------^
    [javac] *** Semantic Error: The overridden method "java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet".
    [javac]
    [javac]
    [javac]    146.     public final java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {
    [javac]                                              ^-------------------------------^
    [javac] *** Semantic Error: The overridden method "java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException ;" is deprecated in type "java.sql.ResultSet".
    [javac]
    [javac]
    [javac]    153.     public final java.io.InputStream getUnicodeStream(String columnName) throws SQLException {
    [javac]                                              ^---------------------------------^
    [javac] *** Semantic Error: The overridden method "java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException;" is deprecated in type "java.sql.ResultSet".

------=_Part_58540_33054533.1178339169403--