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.
If one unchecks "Sign the JAR file" checkbox in "Security" tab of Project properties and then try to "Run" some JavaCard Project then build fails with the following message: ..\ExtendedApplet4\nbproject\build-impl.xml:219: SignatureFile '..\ExtendedApplet4\dist\ExtendedApplet4.signature' does not exists If one tries to "Re(Load)" unsigned module there will be also the following error in packager: Packager: [Error] Output file ..\ExtendedApplet4\dist\ExtendedApplet4.eap exists. Use --force (or) -f option to over write it. This is because packager task is duplicated in case of Re(Load) (see issue 182236) and in case of unsigned module it executes without --force option.
This should be solved in Java Card ant tasks.
Java Card Development Kit 3.0.2 doesn't support loading of unsigned modules. As unsigned modules could still be acceptable for other implementations we should just throw appropriate exception in LoadTask for JCDK 3.0.2 in case when a module is unsigned. Packager task should still allow to create unsigned JARs.
Fixed in Java Card ant tasks (LoadTask) by throwing BuildException in case when unsigned module is loaded to RI. The error message informs user that loading of unsigned modules is unsupported.
Since we know vendors are building on our Ant tasks, and some vendors don't support signed but do support unsigned (Oberthur), we might want to write the signed check in such a way that it is easy to reverse.
Fixed in Ant tasks - closing