Well, I feel like this should be allowed in any case? I think most Devs
only add Class-Path manifest attribute when they need those particular
JAR to run their codes.
Or are there any cases beffore that this is not allowed?
On 10/7/21 13:45, Mikolaj Izdebski wrote:
Hello,
I would like to propose allowing Class-Path attribute in JAR
manifests, at least in some cases.
Currently Java Packaging Guidelines [1] forbids Class-Path attributes
in JAR manifests. However there are certain cases when Class-Path can
be very useful. One such example I find it useful for is executable
JARs that can be symlinked from %{_libexecdir} and ran without a need
for wrapper shell scripts. Such JAR files are marked as executable and
start with a shebang line, which is treated as leading garbage and
therefore ignored by JAR/ZIP readers. When such JARs have dependencies
it's useful to be able to refer to them via Class-Path manifest
attribute.
What do you think about allowing Class-Path manifest attribute? Can it
be allowed in any case, or in some cases only?
[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
--
Regards,
Didik Supriadi (he/him)
https://getfedora.org
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure