On Sun, Jan 13, 2002 at 02:00:15PM +0100, Niklas Mehner wrote:
> Hi !
> 
> I tried to compile all of the files, but that did not work :(
> 
> 1.) Is Freenet still jdk1.1 compatible !?! Or are the files 
> freenet.support.Comparable/Comparator just there because nobody removed 
> them ?
> I changed src/freenet/fs/acct/sys/WordFile.java to use 
> freenet.support.Comparable, because it would not compile otherwise. Hope 
> this is the intended class to be used.

It should be 1.1 compatible, but it's easy to forget to set the compiler
to check it. Just fix these issues as they appear.

> 2.) junit.xrunners.SimpleTestRunner is not contained in junit 3.7. What 
> version of junit does freenet need ?

Junit is not GPL, so I reimplemented the interfaces and wrote a simple
console TestRunner (it took all of two hours). Since the interfaces are
identical, it is intended to work with the real junit as well as our
version. If some of the scripts expect my version to be used, they
should probably be fixed to work with both.

> 3.) Why is junit-ext.jar downloaded, and not just in the lib directory 
> in cvs ? Why not include junit.jar and other libraries that are used in 
> cvs ?

The source code is (used to be) in the contrib module. I have no clue
where it is supposed to end up once Ian's period of great migration is
over (though I would argue that the fact some people may want those
classes while others already have junit installed is another reason why
the "one module to rule them all" idea is wrong).

<>
-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to