Re: [Java-gnome-developer] junit version
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2008-08-09 01:13:23
|
On Fri, 2008-08-08 at 10:55 -0300, Leonardo wrote: > currently i'm trying to compile the 4.0.7 version of java-gnome under > slackware You should pop into #java-gnome and get in touch with Scott Harmon, IRC nick "MacGyver", as he did some work to package on Dropline a few years ago. He hasn't really had much to do with java-gnome since then, but he might be able to offer some pointers. > everything seems going well, i now have /usr/share/java, have junit > but i don't know which version of junit you guys use; I have junit 3.8.1 here. Distros with good Java packaging generally ship both 3.8 and 4.x and parallel install them. They have completely different APIs (in Gentoo's case they are two different slots; the package handle in java-config are "junit" and "junit-4" and the junit.jar are installed in different tree locations; admittedly Gentoo has [unusually for Gentoo] a very strong and activist Policy when it comes to Java [packaging]) (Come to think of it, and Eclipse drop has both in it as well) though I seem to remember once being told that junit 4.0 had a 3.8 compatibility module in it. ++ As it happens, junit 3.8 was stable and the only thing widely available when we first started our unit test suite a few years ago. Some time has passed, and we could perhaps migrate to the 4.0 branch of junit. {shrug} There hasn't been a compelling reason to; our tests work just fine of course. If someone wanted to make a case for changing versions and then writing the patch to do so, that'd be something we could discuss on java-gnome-hackers. I don't have strong feelings either way, other than junit.jar aka 3.8.1 being widely available is helpful. AfC Sydney |