Re: best Depends: line for an app that needs Java 5 but prefers Java 6?
Elliott Hughes wrote:
> Marcus Better wrote:
> > Benjamin Mesing wrote:
> > > I want to build a package which requires Java 5. Therefore I
> > > build-depend on (sun-java5-jdk | sun-java6-jdk).
> >
> > Please don't do this, just select one of them.
>
> I see Marcus' point, but I think that's a very difficult choice.
This advice is meant for packages in Debian, and only for build-depends. You
could for instance Build-depend on sun-java5-jdk and Depend on something
else.
> The problem is that, although we'll work with Java 5, but
> automatically disable various features that we could offer if Java 6
> were available.
At run time or build time?
Marcus
Reply to: