Bug#621857: dh sequencing isn't the same as cdbs sequencing

Niels Thykier niels at thykier.net
Sat Apr 9 21:01:08 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2011-04-09 16:38, Vincent Fourmond wrote:
> Package: javahelper
> Version: 0.32
> Severity: normal
> 
>   Hello,
> 

Hi :)

>   I've just been hit by a problem with respect to the sequencing in
> dh:
> 
> insert_after("jh_installlibs", "jh_classpath");
> insert_after("jh_classpath", "jh_manifest");
> 

Actually this was a deliberate choice, but we failed to convert cdbs to
this as well (see the 0.32 changelog entry).  I will reorder the cdbs
sequence to match the DH one with the next upload.

>   This means that all manifest-related actions will be taken *AFTER*
> the installation of the jars, which is bad since that means that in
> the debian/package.classpath file for instance, one must specify the
> target rather than the source. While one would normally write
> 
>   stuff.jar first-dep.jar second.jar
> 
>   one has to write
> 
>   debian/stuff/usr/share/java/stuff-version.jar ...
> 
>   This is pretty painful at best ;-)...
>

If you use the package files (debian/<pkg>.jlibs) then you can skip the
debian/<pkg> part and you do not have to include the version either,
since jh_manifest/jh_classpath are able to update manifests via a symlink.
  I am not sure how jh_manifest handled it before 0.32, but I rewrote it
in perl, I made sure it worked correctly if it was passed a symlink (and
jh_classpath uses jh_manifest).

NB: The dependencies do not change in this case.

>   BTW, I'm grateful for javahelper ! I think that eventually all java
> libs should be transitioned to use it (well, at least those in control
> of the java team), that would make java packaging a great deal easier.
> 
>   Cheers,
> 
> 	Vincent
> 
> -- System Information:
> [...]

I would also very much like to see greater adoption of javahelper
through the java packages.  Particularly if we get the Java Library
Transition part implemented (debated at DebConf10 and on list).

~Niels

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNoMkTAAoJEAVLu599gGRCpGcQAJv6S6LQGDy8kevMsHJVZanz
FnEZ4T/GddZtak5ebk4g92YYq3+S5TWQ9GNcNOVyzuHN8i5QT2z3IAW/AltB6/5A
VVizmzOyNGIlAKGCHQIMXFAnoR63ue2w00652ON4nl25p6HpzyK3X+dHq6BZ4Cx9
LM1ANn04peOHBNUfDjEsCK/I8Pt5N55Y12uU7YTu0kiYfbL4lpmrvYd+P8/o5Bgj
8k0ql/inZ2Xbk/Pvzd9lF3MLqLbBA9So7hsDLBjoYfVEeBbLbSqt/NFI7xBlWwfT
cVGAial29DWIx1ReQ0cvp8xAzDSFHa69T2wA14XvgpgHgZ01vI8Z+z3QpqwBUcS4
nGANwm4MAorgFL1IYrD98OC8dlvOP763syJy0LHtW25Bl2/ZGfko+R0bCE94Amb2
vLJHF2CrZCE+XiByrxGhjNMBcGXOPpwBr++sGr/ky79LiCrZEAPpdkqgvAGjo2PM
An3Y18vafrjzF/B6li/twWqF1SUFNVma24VGsdZJ9u0V3T0Nr8RNOmoO7SmbgdWm
VK05SH4ySbQT0gMReBzicS7pbHQ9R7sdgxm/VL5II4mfGxMbfY8vL2CqUTaZanwJ
csGYkRmhzzwD7BOECObrWLsZIxhdncuqifYRW5Y6Mu+PTF5R2FLsDUmZc0tPX2vv
IcVk0kq7XQU5XyfJMHis
=KlBP
-----END PGP SIGNATURE-----





More information about the pkg-java-maintainers mailing list