This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238098 - Permissions and codebase in manifest - netbeans platform
Summary: Permissions and codebase in manifest - netbeans platform
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
: 237949 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-07 14:35 UTC by maciekos
Modified: 2013-12-10 09:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maciekos 2013-11-07 14:35:32 UTC
With the release of Java 7u25 came a change where, when the MANIFEST.MF file does not contain the "Permissions" and "Codebase" attributes, the program will give a runtime warning similar to this:

Missing Permissions manifest attribute for: http://www.codebase.com/codebasepath/dist/Program.jar
Missing Codebase manifest attribute for: http://www.codebase.com/codebasepath/dist/Program.jar

deploying platform project with > jnlp > build does not add propper attributes to manifests.

Netbeans should automatically add the proper attributes to the generated .jar's manifest. Currently, after a clean & build, the developer needs to complete a (confusing, difficult) process of adding the manifest attributes manually and re-sign the .jar and the library .jars, all manually as well.

I have found simmilar bug here: https://netbeans.org/bugzilla/show_bug.cgi?id=234231
but it related to simple java project, not netbeans rpc.
Comment 1 Martin Kozeny 2013-11-19 14:37:01 UTC
https://hg.netbeans.org/core-main/rev/61635a07cdc7
Comment 2 Martin Kozeny 2013-11-26 13:19:10 UTC
*** Bug 237949 has been marked as a duplicate of this bug. ***
Comment 3 Martin Kozeny 2013-12-10 09:32:53 UTC
*** Bug 238813 has been marked as a duplicate of this bug. ***