2 Replies Latest reply on Nov 4, 2007 1:47 PM by Guy Winslow

    build failed

    Italo Vecchi Newbie

      I am on win2000, SP4, JDK 6. Building jboss-4.2.1.GA-src I get the following:

      ...

      _buildmagic:build-bypass-check:

      jars:

      _buildmagic:init:

      init:

      compile-classes:
      [mkdir] Created dir: F:\Programmi\jboss-4.2.1.GA-src\connector\output\classe
      s
      [javac] Compiling 156 source files to F:\Programmi\jboss-4.2.1.GA-src\connec
      tor\output\classes
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\JBossResou
      rceException.java:98: warning: [deprecation] setLinkedException(java.lang.Except
      ion) in javax.resource.ResourceException has been deprecated
      setLinkedException(process(linked));
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\JBossResou
      rceException.java:111: warning: [deprecation] setLinkedException(java.lang.Excep
      tion) in javax.resource.ResourceException has been deprecated
      setLinkedException(process(linked));
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrappedConnection.java:47: org.jboss.resource.adapter.jdbc.WrappedConnection
      is not abstract and does not override abstract method createStruct(java.lang.Str
      ing,java.lang.Object[]) in java.sql.Connection
      public class WrappedConnection implements Connection
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\CachedPreparedStatement.java:49: org.jboss.resource.adapter.jdbc.CachedPrepar
      edStatement is not abstract and does not override abstract method setNClob(int,j
      ava.io.Reader) in java.sql.PreparedStatement
      public class CachedPreparedStatement implements PreparedStatement
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrapperDataSource.java:47: org.jboss.resource.adapter.jdbc.WrapperDataSource
      is not abstract and does not override abstract method isWrapperFor(java.lang.Cla
      ss<?>) in java.sql.Wrapper
      public class WrapperDataSource implements Referenceable, DataSource, Serializabl
      e
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrappedStatement.java:43: org.jboss.resource.adapter.jdbc.WrappedStatement is
      not abstract and does not override abstract method isPoolable() in java.sql.Sta
      tement
      public class WrappedStatement implements Statement, StatementAccess,
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrappedResultSet.java:50: org.jboss.resource.adapter.jdbc.WrappedResultSet is
      not abstract and does not override abstract method updateNClob(java.lang.String
      ,java.io.Reader) in java.sql.ResultSet
      public class WrappedResultSet implements ResultSet
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\CachedCallableStatement.java:47: org.jboss.resource.adapter.jdbc.CachedCallab
      leStatement is not abstract and does not override abstract method setNClob(java.
      lang.String,java.io.Reader) in java.sql.CallableStatement
      public class CachedCallableStatement extends CachedPreparedStatement
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\CachedCallableStatement.java:228: warning: [deprecation] getBigDecimal(int,in
      t) in java.sql.CallableStatement has been deprecated
      public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLExce
      ption
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\CachedCallableStatement.java:230: warning: [deprecation] getBigDecimal(int,in
      t) in java.sql.CallableStatement has been deprecated
      return cs.getBigDecimal(parameterIndex, scale);
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrappedPreparedStatement.java:50: org.jboss.resource.adapter.jdbc.WrappedPrep
      aredStatement is not abstract and does not override abstract method setNClob(int
      ,java.io.Reader) in java.sql.PreparedStatement
      public class WrappedPreparedStatement extends WrappedStatement implements Prepar
      edStatement
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\WrappedCallableStatement.java:47: org.jboss.resource.adapter.jdbc.WrappedCall
      ableStatement is not abstract and does not override abstract method setNClob(jav
      a.lang.String,java.io.Reader) in java.sql.CallableStatement
      public class WrappedCallableStatement extends WrappedPreparedStatement implement
      s CallableStatement
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\remote\SerializableParameterMetaData.java:32: org.jboss.resource.adapter.jdbc
      .remote.SerializableParameterMetaData is not abstract and does not override abst
      ract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
      public class SerializableParameterMetaData implements ParameterMetaData, Seriali
      zable
      ^
      F:\Programmi\jboss-4.2.1.GA-src\connector\src\main\org\jboss\resource\adapter\jd
      bc\remote\SerializableResultSetMetaData.java:33: org.jboss.resource.adapter.jdbc
      .remote.SerializableResultSetMetaData is not abstract and does not override abst
      ract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
      public class SerializableResultSetMetaData
      ^
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      10 errors
      4 warnings

      BUILD FAILED
      F:\Programmi\jboss-4.2.1.GA-src\connector\build.xml:200: Compile failed; see the compiler error output for details.

      I will be grateful for any feedback.

      tito