Bug#896439: gradle-debian-helper points to an invalid java api directory

Markus Koschany apo at debian.org
Sat Apr 21 19:16:06 BST 2018


Am 21.04.2018 um 19:57 schrieb Emmanuel Bourg:
> Hi Tiago,
> 
> I don't think gradle-debian-helper should depend on default-jdk-doc by
> default, this is a rather big dependency and it's preferable to keep it
> optional to speed up the builds a bit. I think the packages using
> gradle-debian-helper should instead depend on default-jdk-doc if they
> build a javadoc package. That's what most packages building a javadoc
> already do.
> 
> As for changing the path to the JDK doc why not, but I don't really
> understand the benefit. It seems both URLs are currently in use, with
> /usr/share/doc/default-jdk-doc/api being more popular than
> /usr/share/doc/default-jdk/api despite the longer path.

By the way since Debian Policy 3.9.7 it is recommended to install
additional documentation via -doc packages into /usr/share/doc/pkg and
no longer /usr/share/doc/pkg-doc. This is also enforced with
debhelper/compat >= 11. If we were consequent then we should use
/usr/share/doc/default-jdk/api everywhere.

Markus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180421/692fef2d/attachment.sig>


More information about the pkg-java-maintainers mailing list