[Biojava-l] biojava demo code
Xuefeng Bruce Ling
ling@ling.ipc.net
Thu, 25 Jan 2001 15:57:55 -0800
--=====================_29342512==_.ALT
Content-Type: text/plain; charset="us-ascii"
Hi,
Initially I tried to use CVS and biojava-live to build according to the README,
it just did not work. See in my previous email.
I poked around the biojava FTP site and I found that they have jan 12 and 19
jar file and the source code of jan 19. It turns out that the jan 19 code is
with biojava-live directory. Personally I think that is not good software
release style. If you want to release the jar file at certain release, then
the code has to be in sync with that. Another thing is that for the software
release, can you put the win zip version there as well? Not everyone programs
on unix especially for JAVA.
I tried that and to my disappointment, some of the demon code works and some
cannot even be compiled. These are the errors when I tried to compile the code
under demos/seq. Some of the domon code works under that directory and the
ones show below doesn't work.
See the following errors coming:
javac *java
count = 0, total = 25
count = 0, total = 25
SimpleAssemblyTest.java:19: Class seq.SimpleSequence not found.
Sequence seq1 = new SimpleSequence(dna1, "seq1", "seq1",
^
SimpleAssemblyTest.java:23: Class seq.SimpleSequence not found.
Sequence seq2 = new SimpleSequence(dna2, "seq2", "seq2",
^
TestGenbank.java:18: Incompatible type for declaration. Explicit cast needed to
convert org.biojava.bio.seq.io.GenbankFormat to
org.biojava.bio.seq.io.SequenceFormat.
SequenceFormat gFormat = new GenbankFormat();
^
TestGenbank.java:21: Class seq.SimpleSequenceFactory not found.
SequenceFactory sFact = new SimpleSequenceFactory();
^
TestGenbank.java:25: Incompatible type for constructor. Explicit cast needed to
convert org.biojava.bio.seq.SequenceFactory to
org.biojava.bio.seq.io.SequenceBuilderFactory.
new StreamReader(gReader, gFormat, rParser, sFact);
^
TestTranslation.java:11: Can't access class
org.biojava.bio.symbol.ReverseSymbolList. Class or interface must be public, in
same package, or an accessible member class.
SymbolList rev = new ReverseSymbolList(randomSeq);
^
TestTranslation.java:13: Can't access class
org.biojava.bio.symbol.WindowedSymbolList. Class or interface must be public,
in same package, or an accessible member class.
SymbolList codons = new WindowedSymbolList(revComp, 3);
^
TestTranslation.java:14: Can't access class
org.biojava.bio.symbol.TranslatedSymbolList. Class or interface must be public,
in same package, or an accessible member class.
SymbolList translation = new TranslatedSymbolList(
^
TestTranslation.java:16: Undefined variable or class name: GeneticCode
GeneticCode.UNIVERSAL
^
9 errors
--=====================_29342512==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
Hi,<br>
<br>
Initially I tried to use CVS and biojava-live to build according to the
README, it just did not work. See in my previous email.<br>
<br>
I poked around the biojava FTP site and I found that they have jan 12 and
19 jar file and the source code of jan 19. It turns out that the jan 19
code is with biojava-live directory. Personally I think that is not
good software release style. If you want to release the jar file at
certain release, then the code has to be in sync with that. Another
thing is that for the software release, can you put the win zip version
there as well? Not everyone programs on unix especially for
JAVA.<br>
<br>
I tried that and to my disappointment, some of the demon code works and
some cannot even be compiled. These are the errors when I tried to
compile the code under demos/seq. Some of the domon code works
under that directory and the ones show below doesn't work.<br>
<br>
See the following errors coming: <br>
<br>
<font face="Courier New, Courier">javac *java<br>
count = 0, total = 25<br>
count = 0, total = 25<br>
SimpleAssemblyTest.java:19: Class seq.SimpleSequence not found.<br>
Sequence seq1 = new
SimpleSequence(dna1, "seq1", "seq1",<br>
^<br>
SimpleAssemblyTest.java:23: Class seq.SimpleSequence not found.<br>
Sequence seq2 = new
SimpleSequence(dna2, "seq2", "seq2",<br>
^<br>
TestGenbank.java:18: Incompatible type for declaration. Explicit cast
needed to convert org.biojava.bio.seq.io.GenbankFormat to
org.biojava.bio.seq.io.SequenceFormat.<br>
SequenceFormat gFormat = new
GenbankFormat();<br>
^<br>
TestGenbank.java:21: Class seq.SimpleSequenceFactory not found.<br>
SequenceFactory sFact = new
SimpleSequenceFactory();<br>
^<br>
TestGenbank.java:25: Incompatible type for constructor. Explicit cast
needed to convert org.biojava.bio.seq.SequenceFactory to
org.biojava.bio.seq.io.SequenceBuilderFactory.<br>
new StreamReader(gReader,
gFormat, rParser, sFact);<br>
^<br>
TestTranslation.java:11: Can't access class
org.biojava.bio.symbol.ReverseSymbolList. Class or interface must be
public, in same package, or an accessible member class.<br>
SymbolList rev = new
ReverseSymbolList(randomSeq);<br>
^<br>
TestTranslation.java:13: Can't access class
org.biojava.bio.symbol.WindowedSymbolList. Class or interface must be
public, in same package, or an accessible member class.<br>
SymbolList codons = new
WindowedSymbolList(revComp, 3);<br>
^<br>
TestTranslation.java:14: Can't access class
org.biojava.bio.symbol.TranslatedSymbolList. Class or interface must be
public, in same package, or an accessible member class.<br>
SymbolList translation = new
TranslatedSymbolList(<br>
^<br>
TestTranslation.java:16: Undefined variable or class name:
GeneticCode<br>
GeneticCode.UNIVERSAL<br>
^<br>
9 errors<br>
<br>
</font></html>
--=====================_29342512==_.ALT--