also, Jay, please make sure that JAVA_HOME variable is set to use J6
too. This is what ant uses 'by default'.
Best,
Syed
On 01/03/2011 18:04, Jack Hsu wrote:
Hi Jay,
Yes, BioMart requires Java 6 and Ant 1.7 or higher.
Cheers,
-jack
On 11-03-01 12:47 PM, "Jay Sundaram"<[email protected]> wrote:
Hello all,
Please see the ant build error below.
Is Java 1.6 required, or recommended?
Thanks,
Jay
[sundaram@gog:/tmp/release-0_8-candidate_4]$ ant clean
Buildfile: build.xml
-load.properties:
clean:
[delete] Deleting directory /tmp/release-0_8-candidate_4/dist
[delete] Deleting directory /tmp/release-0_8-candidate_4/build
BUILD SUCCESSFUL
Total time: 0 seconds
[sundaram@gog:/tmp/release-0_8-candidate_4]$ ant
Buildfile: build.xml
-load.properties:
-init:
[mkdir] Created dir:
/tmp/release-0_8-candidate_4/build/classes/main/META-INF
[mkdir] Created dir: /tmp/release-0_8-candidate_4/build/classes/start
[mkdir] Created dir: /tmp/release-0_8-candidate_4/build/lib
[mkdir] Created dir: /tmp/release-0_8-candidate_4/dist/web/work
[mkdir] Created dir: /tmp/release-0_8-candidate_4/dist/logs
[mkdir] Created dir: /tmp/release-0_8-candidate_4/dist/registry/linkindices
compile.main:
[javac] Compiling 451 source files to
/tmp/release-0_8-candidate_4/build/classes/main
[javac] ----------
[javac] 1. ERROR in
/tmp/release-0_8-candidate_4/src/org/biomart/api/enums/BiomartVersion.java (at
line 1)
[javac] package org.biomart.api.enums;
[javac] ^^
[javac] The type Enum is not generic; it cannot be parameterized with
arguments<BiomartVersion>
[javac] ----------
[javac] 1 problem (1 error)
BUILD FAILED
/tmp/release-0_8-candidate_4/build.xml:24: Compile failed; see the compiler
error output for details.
Total time: 2 seconds
[sundaram@gog:/tmp/release-0_8-candidate_4]$
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users