Summary of the 2008-04-01 Packaging Committee meeting
Andrew Overholt
overholt at redhat.com
Wed Apr 2 21:16:50 UTC 2008
* Ville Skyttä <ville.skytta at iki.fi> [2008-04-02 17:10]:
> Ditto would be noting somewhere that the process of removing Class-Paths from
> manifests will break "java -jar foo.jar" invocations if foo.jar requires
> additional user stuff in the classpath. This is because $CLASSPATH, -cp
> and -classpath are ignored with "java -jar"; only Class-Path in manifest
> works with it. The workaround is to not use -jar but use the main class name
> instead, and set classpath the usual way as required.
Yup.
> Packagers should therefore not use "java -jar" in any scripts or docs,
> and this could be a good thing to note in end user docs as well.
Yeah.
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080402/997ede2e/attachment.sig>
More information about the fedora-devel-list
mailing list