Sadly, MartJ is not compatible with Java 6 yet. You have to use Java 5
to make it work.
cheers,
Richard
2008/5/9 Renato Golin <[EMAIL PROTECTED]>:
>
> Hi,
>
> I just got the CVS HEAD of martj and got this error:
>
> $ ant jar
> (...)
> compile:
> [javac] Compiling 133 source files to
> /home/renato/workspace/martj/build/classes
> [javac]
> /home/renato/workspace/martj/src/java/org/ensembl/mart/lib/DetailedDataSource.java:58:
> org.ensembl.mart.lib.DetailedDataSource is not abstract and does not
> override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
> [javac] public class DetailedDataSource implements DataSource {
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 1 error
> (...)
>
>
> I'm using:
>
> $ ant -version
> Apache Ant version 1.7.0 compiled on August 29 2007
>
> $ javac -version
> javac 1.6.0_06
>
> Any pointers? (not those: http://xkcd.com/138/) ;)
>
> cheers,
> --renato
>
>
> --
> Reclaim your digital rights, eliminate DRM, learn more at
> http://www.defectivebydesign.org/what_is_drm
>