Hello,
I installed ant-1.4.1 from jakarta.apache.org and tried to use it to run
biojava.
i run java1.2.2 on a dec alpha OSF1. java-home, ant-home are defined
properly.
>>ant javadocs works but
>>ant package does not work.
________________________________________________________________________
>>ant package
Buildfile: build.xml
init:
prepare:
[mkdir] Created dir: HOME/JAVA/biojava-live/ant-build
prepare-src:
[mkdir] Created dir: HOME/JAVA/biojava-live/ant-build/src/main
[mkdir] Created dir: HOME/JAVA/biojava-live/ant-build/classes/main
[mkdir] Created dir: HOME/JAVA/biojava-live/ant-build/src/tests
[mkdir] Created dir: HOME/JAVA/biojava-live/ant-build/classes/tests
[mkdir] Created dir: HOME/JAVA/biojava-live/reports/tests
[copy] Copying 783 files to
HOME/JAVA/biojava-live/ant-build/src/main
[copy] Copying 54 files to
HOME/JAVA/biojava-live/ant-build/src/tests
[copy] Copying 1 file to HOME/JAVA/biojava-live/ant-build/src/main
[copy] Copying 7 files to
HOME/JAVA/biojava-live/ant-build/classes/main
compile:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 717 source files to
HOME/JAVA/biojava-live/ant-build/classes/main
[javac]
HOME/JAVA/biojava-live/ant-build/src/main/org/biojava/bio/seq/io/CharacterTokenization.java:55:
T
he method org.biojava.bio.seq.io.TokenType getTokenType() declared in
class org.biojava.bio.seq.io.CharacterT
okenization cannot override the method of the same signature declared in
interface org.biojava.bio.seq.io.Sym
bolTokenization. They must have the same return type.
[javac] public TokenType getTokenType() {
[javac] ^
[javac]
HOME/JAVA/biojava-live/ant-build/src/main/org/biojava/bio/seq/io/WordTokenization.java:52:
The me
thod org.biojava.bio.seq.io.TokenType getTokenType() declared in class
org.biojava.bio.seq.io.WordTokenizatio
n cannot override the method of the same signature declared in interface
org.biojava.bio.seq.io.SymbolTokeniz
ation. They must have the same return type.
[javac] public TokenType getTokenType() {
[javac] ^
[javac]
HOME/JAVA/biojava-live/ant-build/src/main/org/biojava/bio/seq/FramedFeature.java:52:
The method o
rg.biojava.bio.seq.Strand getStrand() declared in interface
org.biojava.bio.seq.FramedFeature cannot override
the method of the same signature declared in interface
org.biojava.bio.seq.StrandedFeature. They must have
the same return type.
[javac] Strand getStrand();
..........
[javac] void writeCurrentHSP( HSPSummary oHSPSummary,
BlastLikeAlignment oAlignment ) {
[javac] ^
[javac]
HOME/JAVA/biojava-live/ant-build/src/main/org/biojava/bio/gui/sequence/PairwiseFilteringRenderer.
java:436: No method matching hasListeners() found in class
org.biojava.bio.gui.sequence.PairwiseFilteringRend
erer.
[javac] if (hasListeners())
[javac] ^
[javac] Note: 2 files use or override a deprecated API. Recompile
with "-deprecation" for details.
[javac] 6 errors, 5 warnings
BUILD FAILED
HOME/JAVA/biojava-live/build.xml:140: Compile failed, messages should
have been provided.
Total time: 3 minutes 5 seconds
_______________________________________________________________________
>> ant javadocs
[javadoc] Constructing Javadoc information...
[javadoc] javadoc: warning - Cannot find class
org.biojava.bio.seq.Strand
[javadoc] javadoc: warning - Cannot find class
org.biojava.bio.seq.io.TokenType
[javadoc] 1 error
[javadoc] 2 warnings
[javadoc] javadoc: java.lang.OutOfMemoryError: Please increase memory.
[javadoc] For example, on the Sun Classic or HotSpot VMs, add the
option -J-Xmx
[javadoc] such as -J-Xmx32m.
BUILD SUCCESSFUL
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>