Allowing Class-Path in MANIFEST.MF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux