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