Re: nntp client
Chris Burdess <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
Joseph Shraibman wrote: > I build inetlib, but when I try to compile javamail I get: > > ./source/gnu/mail/util/PrintStreamLogger.java:38: > gnu.mail.util.PrintStreamLogger is not abstract and does not override > abstract method error(java.lang.String,java.lang.Throwable) in > gnu.inet.util.Logger > public class PrintStreamLogger > > ... so I fix that problem myself, and now I'm stuck on: > > javac -g -classpath ./source:./activation.jar:../inetlib/inetlib.jar > -d ./classes source/gnu/mail/providers/nntp/NNTPFolder.java > ./source/gnu/mail/providers/nntp/NNTPStore.java:150: cannot find symbol > symbol : constructor > NNTPConnection(java.lang.String,int,java.lang.String,java.lang.String,b > oolean) > location: class gnu.inet.nntp.NNTPConnection > connection = new NNTPConnection (host, port, username, > password, > ^ > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 1 error > make: *** [classes/gnu/mail/providers/nntp/NNTPFolder.class] Error 1 > Command exited with non-zero status 2 You're using incompatible versions of gnumail and inetlib. If you're using inetlib from CVS, use gnumail from CVS (the last released version should still work though). > How do I create a diff from one source tree to the other? Check out the source tree from CVS in a directory. Copy your changes into that tree, and run cvs diff -u -- Chris Burdess