Error build driver

From: Leandro Rodrigo Saad Cruz <leandro(at)ibnetwork(dot)com(dot)br>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Error build driver
Date: 2001-04-25 22:29:48
Message-ID: 3AE74FDC.199BBFF9@ibnetwork.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all, I'm getting this error while trying to build my jar from
src/interfaces/jdbc
compile:
[javac] Compiling 2 source files to
/.4/local/src/postgresql-7.1/src/interfaces/jdbc/build
[javac]
[javac] Found 3 semantic errors compiling
"/.4/local/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java":
[javac]
[javac] 1691. case 'r':
[javac] <->
[javac] *** Error: The type of this expression, "char", is not
assignment-convertible to the type of the switch statement expression,
"byte".
[javac]
[javac]
[javac] 1694. case 'i':
[javac] <->
[javac] *** Error: The type of this expression, "char", is not
assignment-convertible to the type of the switch statement expression,
"byte".
[javac]
[javac]
[javac] 1697. case 'S':
[javac] <->
[javac] *** Error: The type of this expression, "char", is not
assignment-convertible to the type of the switch statement expression,
"byte".
[javac]
[javac] Found 6 syntax errors in
"/.4/local/src/postgresql-7.1/src/interfaces/jdbc/org/postgresql/Driver.java":
[javac]
[javac] 199. return ${major};
[javac] ^------^
[javac]
[javac] *** Syntax: ";" inserted to complete BlockStatements
[javac]
[javac]
[javac] 199. return ${major};
[javac] ^---^
[javac]
[javac] *** Syntax: "AssignmentOperator AssignmentExpression"
inserted to complete Assignment
[javac]
[javac]
[javac] 199. return ${major};
[javac] ^---^
[javac]
[javac] *** Syntax: ";" inserted to complete BlockStatementsopt
[javac]
[javac]
[javac] 209. return ${minor};
[javac] ^------^
[javac]
[javac] *** Syntax: ";" inserted to complete BlockStatements
[javac]
[javac]
[javac] 209. return ${minor};
[javac] ^---^
[javac]
[javac] *** Syntax: "AssignmentOperator AssignmentExpression"
inserted to complete Assignment
[javac]
[javac]
[javac] 209. return ${minor};
[javac] ^---^
[javac]
[javac] *** Syntax: ";" inserted to complete BlockStatementsopt

I've looked into the build file ant it never sets ${minor} ou ${major}
I doesn't includes any property files either.

Did I miss something or the build file is broken ??
--
Leandro Rodrigo Saad Cruz

InterBusiness Tecnolgia e Servicos
http://www.ibnetwork.com.br
telefone 4191-3638
Sao Paulo - SP - Brasil

Browse pgsql-jdbc by date

  From Date Subject
Next Message Loïc Courtois 2001-04-26 23:56:38 JDBC and Accents
Previous Message David Esposito 2001-04-24 20:20:37 getObject and Aggregate SQL functions