>       Now that we have a j2sdk available in Debian, and also the
>       concept of a java2-compiler - which one should we use for
>       Build-Depends in debian/control files ?

My humble opinion is that we should specify a specific compiler such as
j2sdk1.3, jikes, whatever; I've been doing this also for my java 1.1
packages in main.

The runtime dependency javax-runtime is a virtual package to give the end
user flexibility in what they use for their day-to-day java environment.
However, a little piece of your package failing to run is far less severe
than a little piece of your package failing to build, which will break
the entire build process.  Note also that the general user will never
need to rebuild your package and thus will never need to install your
build-depends.  IMHO you don't want flexibility for build-depends; you
want to make sure it build on any system in precisely the same way it
builds on yours.

I tend to take this to an extreme to ensure I get the result I want.
Jython build-depends on jikes and kaffe and explicitly builds by running
jikes against /usr/share/kaffe/Klasses.jar.  BTools build-depends on
j2sdk1.3 and explicitly builds by running /usr/lib/j2se1.3/bin/javac.
No use of alternatives at all.

Just my $0.02 AU, dropping further each day...

b.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to