Jim Walker wrote: > Tom Childers wrote: >> Hello, Petr. >> >> Is that an acceptable solution? -tdc >> >> On Dec 9, 2008, at 11:14 AM, Danek Duvall wrote: >> >>> On Tue, Dec 09, 2008 at 11:01:31AM -0800, Tom Childers wrote: >>> >>>> Looking at this case, which has been sitting for a couple of >>>> weeks, I realize that Petr has raised an issue that we need to >>>> clarify. If we use links in /usr/share/java to point to the most >>>> recent version of each component, and underlying components can >>>> be delivered by different packages, then links may get changed >>>> and cause things to break. >>>> >>>> Can we simply assume that IPS handles this situation correctly? If >>>> so, are we requiring that all of these FOSS projects going >>>> into OpenSolaris use IPS? >>> >>> Those links need each to be delivered exactly once on a system, by >>> just one package. No packaging system can deal with a single file >>> being delivered multiple times by conflicting package developers. >>> >>> I'd suggest that projects either directly use the versioned jar >>> file that's most appropriate for their needs, or install a symlink >>> in a private directory to the jar file they need, and put that in >>> their classpath. Perhaps there are other alternatives, too. >>> >>> Danek >> > > Right. The versioned jar files should be stable, only the junit.jar > sym link will change over time. > > /usr/share/lib/java/junit.jar link to most recent version > /usr/share/lib/java/junit-4.5.jar > /usr/share/lib/java/junit-3.8.2.jar > > Mengwei plans to integrate junit-4.5 soon (c-team review is tomorrow). > > Petr, > > Does findbugs work with junit-4.5? > > Cheers, > Jim JUnit is used only during build. We will skip some of the tests, because they are targeted for Eclipse integration, etc. I did not try to run compilation of findbugs with different JUnit, but I will do it.
Petr