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.
In the project properties Build > Obfuscation there reads: Obfuscation not supported for CDC projects
The obfuscation is available in the NetBeans 7.0.1
Steps to reproduce: - Create a CDC project - Go to the Project Properties-> Build->Obfuscating - Press 'Install ProGuard Obfuscator Library' button - Select the obfuscation level - Build the project The obfuscation works on my system ------------------------------------------------------------ Preparing output jar [CdcApplication5\build\obfuscated.jar] Copying resources from program jar [CdcApplication5\build\before-obfuscation.jar] Created dir: CdcApplication5\build\obfuscated Expanding: CdcApplication5\build\obfuscated.jar into CdcApplication5\build\obfuscated Building jar: CdcApplication5\dist\CdcApplication5.jar ------------------------------------------------------------ However go to the Project Properties-> Build->Obfuscating again There is the message 'Obfuscation not supported for CDC projects' in the Level Description text field.
In some cases the Project Properties-> Build-> Obfuscating panel shows the 'Obfuscation not supported for CDC projects' message again.
It is also imposible to use the max level of obfuscation for CDC projects during project building. Build process fails due to errors in obfuscation arguments: configuration refers to "unknown" class javax.microedition.midlet.MIDlet.
Steps to reproduce: - Set High Obfuscation level for a CDC project - Build the CDC project -------------------------------------------------------------- Building jar: CdcApplication6\build\before-obfuscation.jar ProGuard, version 4.4 Reading program jar [CdcApplication6\build\before-obfuscation.jar] Reading library jar [Java_ME_platform_SDK_3.0\lib\cdc_1.1.jar] Reading library jar [Java_ME_platform_SDK_3.0\lib\fp_1.1.jar] Note: duplicate definition of library class [java.io.File] Reading library jar [Java_ME_platform_SDK_3.0\lib\pbp_1.1.jar] Note: there were 1 duplicate class definitions. Error: The output jar is empty. Did you specify the proper '-keep' options? Reading library jar [Java_ME_platform_SDK_3.0\lib\secop_1.0.jar] Note: the configuration refers to the unknown class 'javax.microedition.midlet.MIDlet' Note: there were 1 references to unknown classes. You should check your configuration for typos. CdcApplication6\nbproject\build-impl.xml:449: Obfuscation failed with error code 1. BUILD FAILED (total time: 1 second) --------------------------------------------------------------
Assigning to the new owner of javame modules.