how best to compile gnu.mail.providers

我怕爱的太早我们不能终老 提交于 2019-12-14 03:05:05

问题


I'm interested in forking gnu.mail.providers.nntp.NNTPFolder, with the Javadoc documentation here, but don't quite understand the dependencies. Apparently, these are:

The current stable release of GNU JavaMail is version 1.1.2, available here.

You also need the current versions of GNU JAF and GNU inetlib to build it.

http://www.gnu.org/software/classpathx/javamail/

What, exactly, do I need to download to build gnu.mail.providers? I can certainly check out the code easily enough, but I don't relish compiling a large chunk of the API. (Yes, it shouldn't be necessary to compile most classes more than once.)

1.) What JAR's do I need to download?

2.) How much of the source code do I need to checkout?

3.) I can check it into github right away, because the licensing boilerplate is in the code?


回答1:


Here are the JAR's:

thufir@dur:~/NetBeansProjects/gnu_cvs/dist$ 
thufir@dur:~/NetBeansProjects/gnu_cvs/dist$ ll lib/
total 416
drwxrwxr-x 2 thufir thufir   4096 Feb 22 21:16 ./
drwxrwxr-x 6 thufir thufir   4096 Feb 22 21:16 ../
-rw-rw-r-- 1 thufir thufir  33542 Feb 22 21:16 activation.jar
-rw-rw-r-- 1 thufir thufir 180559 Feb 22 21:16 gnumail.jar
-rw-rw-r-- 1 thufir thufir 194251 Feb 22 21:16 inetlib.jar
thufir@dur:~/NetBeansProjects/gnu_cvs/dist$ 
thufir@dur:~/NetBeansProjects/gnu_cvs/dist$ ll
total 608
drwxrwxr-x 6 thufir thufir   4096 Feb 22 21:16 ./
drwxrwxr-x 5 thufir thufir   4096 Feb 22 21:36 ../
drwxrwxr-x 3 thufir thufir   4096 Feb 22 21:16 gnu/
-rw-rw-r-- 1 thufir thufir 593467 Feb 22 21:16 gnu_cvs.jar
drwxrwxr-x 3 thufir thufir   4096 Feb 22 21:16 javax/
drwxrwxr-x 2 thufir thufir   4096 Feb 22 21:16 lib/
drwxrwxr-x 2 thufir thufir   4096 Feb 22 21:16 META-INF/
-rw-rw-r-- 1 thufir thufir   1322 Feb 22 21:16 README.TXT
thufir@dur:~/NetBeansProjects/gnu_cvs/dist$ 

Whether it runs correctly remains to be seen. I suppose it has to be build to compile as gnumail-providers.jar but otherwise seems, at first glance, to work fine. I checked out the code as per:

Alternatively you can retrieve the current sources via CVS here, module mail.

http://www.gnu.org/software/classpathx/javamail/



来源:https://stackoverflow.com/questions/15000118/how-best-to-compile-gnu-mail-providers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!