nntp client
Joseph Shraibman <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
I need to write an nntp client, but I can't build the classpathx
javamail providers. In order to do so, I need inetlib, which I can't
find a download link for so I had to get out of cvs. When I tried to
build that I got:
checking for SASL... configure: error: can't find SASL classes; use
--with-sasl
Now I don't know why sasl is required but I downloaded
http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-acap-api-java-v1.a1.tar.gz
When I tried to build that I got:
[jks@jks-desktop ~/work/gnumail/cyrus-acap-api-java-v1.a1]$ java
JavaLex.Main Yylex.lex
Exception in thread "main" java.lang.NoClassDefFoundError: JavaLex/Main
make: *** [Yylex.java] Error 1
So I had to download JLex, rename it so that cyrus was happy, build it,
and then I got:
[jks@jks-desktop ~/work/gnumail/cyrus-acap-api-java-v1.a1]$ make
java JavaLex.Main Yylex.lex
Processing first section -- user code.
Processing second section -- JLex declarations.
Processing third section -- lexical rules.
Creating NFA machine representation.
NFA comprised of 143 states.
Working on character
classes.::::.:...:..::.:.:.:::::.:.:....:.::.....:....:...:..:.....:::..::.:.....
NFA has 31 distinct character classes.
Creating DFA transition table.
Working on DFA
states.....................................................................................
Minimizing DFA transition table.
78 states after removal of redundant states.
Outputting lexical analyzer code.
mv Yylex.lex.java Yylex.java
javac Yylex.java
javac ATest.java
ATest.java:31: cannot resolve symbol
symbol : class NotifyHandler
location: class acap.TestNotifier
class TestNotifier extends NotifyHandler {
^
ATest.java:47: cannot resolve symbol
symbol : class Conn
location: package acap
private static acap.Conn conn = null;
^
ATest.java:49: cannot resolve symbol
symbol : class acapException
location: package acap
throws java.io.IOException, acap.acapException {
^
ATest.java:50: cannot resolve symbol
symbol : class Conn
location: package acap
conn = new acap.Conn("acap.andrew.cmu.edu");
^
ATest.java:59: cannot resolve symbol
symbol : class Return
location: package acap
acap.Return rets[] = {};
^
ATest.java:61: cannot resolve symbol
symbol : class Modifiers
location: package acap
new acap.Modifiers(null, "bookmarks", rets,
null),
^
ATest.java:62: cannot resolve symbol
symbol : class Compare
location: package acap
new acap.Compare("entry", "+octet", ""),
^
7 errors
make: *** [ATest.class] Error 1
... so now I'm stuck. Are there jar files of these things anywhere?