[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#227587: [PROPOSAL] Java library dependencies



> > And this is my core problem with your proposal.  You want to remove
> > j2/1-runtime, but you offer nothing whatsoever to replace it.
> 
> No, I don't. Java applications must still depend on the required 
> java*-runtime virtual packages, I just want this dependency removed for 
> library packages.

My claim is still true for library packages (which is the area in which
we're arguing).

> > With your proposal, there is no guarantee that the correct core classes
> > will even be installed, let alone used.
> 
> Wrong. The application packages depend on the core classes that are 
> known to work and its wrapper script makes sure that they are used. Take 
> for example the tomcat4 package.

Again my claim is still true for library packages - recall again that
library packages are used by end users with their own projects, or
by end users building apps that aren't packaged for debian.

> > Um, surely the library packager should be the once to decide in what
> > circumstances the library will work?  You'd rather push the burden from
> > one library packager to all users of that library (including end users
> > writing custom projects against that library)?
> 
> No, I push it to maintainers of Java applications which use the library.

And unfortunately also to end users who use the library as outlined above.

> But since the latest sablevm package now provies 
> java2-runtime, my whole proposal is superfluous: sablevm will be 
> installed to satisfy the java2-runtime dependency if you don't already 
> have Blackdown packages installed and applications like tomcat4 will 
> simply not start. That's also a way to solve a problem...

And of course you point at this problem, but yet again your proposal
won't fix it - you simply weaken the library dependencies, so sablevm
(and also kaffe and gij and everything else) will satisfy library
dependencies even if it doesn't run them.  Same for applications - if
you have tomcat depend on java2-runtime, your proposal does nothing to
stop me from using sablevm to fill this dependency.

Ben.




Reply to: