You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Ole Solberg <Ol...@Sun.COM> on 2006/04/07 12:29:35 UTC

Build errors on 10.1!

compile_iapi_jdbc_jdbc2:
     [javac] Compiling 3 source files to 10.1/classes
     [javac] 
10.1/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java:31: 
package org.apache.derby.client.am does not exist
     [javac] import org.apache.derby.client.am.SqlState;
     [javac]                                   ^
     [javac] 1 error
     [javac] 2 warnings
     [javac] Compile failed; see the compiler error output for details.


See 
http://www.multinet.no/~solberg/public/Apache/Derby-10.1/Limited/testSummary-392228.html
http://www.multinet.no/~solberg/public/Apache/Derby-10.1/UpdateInfo/392228.txt
http://www.multinet.no/~solberg/public/Apache/Derby-10.1/UpdateInfo/392228-buildDetails.txt

-- 
Ole Solberg, Database Technology Group,
Sun Microsystems, Trondheim, Norway

Re: Build errors on 10.1!

Posted by Daniel John Debrunner <dj...@apache.org>.
Rajesh Kartha wrote:

> I am also getting the build failure if I  sync up to the latest version.
> 
> But if I do an svn update -r 391876 (which is what our nightlies are at
> yesterday), the build is ok.
> A change  that was introduced between 391876 and  392307  is causing the
> failure.
> The  BrokeredConnection.java is importing
> org.apache.derby.client.am.SqlState;  (from the client package )

I'll fix it. For some reason I'm not seeing it in my 10.1 client where
I'm making these changes.

Sorry,
Dan.



Re: Build errors on 10.1!

Posted by Rajesh Kartha <ka...@gmail.com>.
I am also getting the build failure if I  sync up to the latest version.

But if I do an svn update -r 391876 (which is what our nightlies are at 
yesterday), the build is ok.
A change  that was introduced between 391876 and  392307  is causing the 
failure.
The  BrokeredConnection.java is importing 
org.apache.derby.client.am.SqlState;  (from the client package )

shouldn't that be

org.apache.derby.iapi.reference.SqlState;

instead

C:\derby10_1\10.1>svn update
U    java\engine\org\apache\derby\impl\jdbc\EmbedResultSet.java
U    java\engine\org\apache\derby\impl\jdbc\EmbedStatement.java
U    java\engine\org\apache\derby\impl\jdbc\EmbedPreparedStatement.java
U    java\engine\org\apache\derby\impl\jdbc\EmbedConnection.java
U    java\engine\org\apache\derby\iapi\jdbc\BrokeredConnection.java  
U    java\engine\org\apache\derby\iapi\jdbc\BrokeredConnectionControl.java
U    java\engine\org\apache\derby\iapi\jdbc\BrokeredConnection30.java
U    java\engine\org\apache\derby\iapi\jdbc\BrokeredStatementControl.java
U    java\engine\org\apache\derby\jdbc\EmbedPooledConnection.java
U    java\engine\org\apache\derby\jdbc\EmbedXAConnection.java
U    java\engine\org\apache\derby\jdbc\XAStatementControl.java
Updated to revision 392307.

-Rajesh




Ole Solberg wrote:

> compile_iapi_jdbc_jdbc2:
>     [javac] Compiling 3 source files to 10.1/classes
>     [javac] 
> 10.1/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java:31: 
> package org.apache.derby.client.am does not exist
>     [javac] import org.apache.derby.client.am.SqlState;
>     [javac]                                   ^
>     [javac] 1 error
>     [javac] 2 warnings
>     [javac] Compile failed; see the compiler error output for details.
>
>
> See 
> http://www.multinet.no/~solberg/public/Apache/Derby-10.1/Limited/testSummary-392228.html 
>
> http://www.multinet.no/~solberg/public/Apache/Derby-10.1/UpdateInfo/392228.txt 
>
> http://www.multinet.no/~solberg/public/Apache/Derby-10.1/UpdateInfo/392228-buildDetails.txt 
>
>