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.
see 46995: With a J2SE project, there's no way to specify extra javac options. Especially setting -Xlint:unchecked should be possible, but probably other options should be made possible as well. The tab Project Properties/Build/Compiling Sources seems to be the proper location for setting these options, since the -g and -deprecation are controlled there as well. If not to be controlled by the UI, then at least manual modifications to project.properties should be supported, e.g. with the javac.options property. Also check jsp cp settings.
Gonna look at it.
Fixed in trunk: Checking in Bundle.properties; /cvs/web/project/src/org/netbeans/modules/web/project/Bundle.properties,v <-- Bundle.properties new revision: 1.7; previous revision: 1.6 done Checking in WebProjectGenerator.java; /cvs/web/project/src/org/netbeans/modules/web/project/WebProjectGenerator.java,v <-- WebProjectGenerator.java new revision: 1.46; previous revision: 1.45 done Processing log script arguments... More commits to come... Checking in resources/build-impl.xsl; /cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v <-- build-impl.xsl new revision: 1.33; previous revision: 1.32 done Processing log script arguments... More commits to come... Checking in ui/customizer/Bundle.properties; /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/Bundle.properties,v <-- Bundle.properties new revision: 1.31; previous revision: 1.30 done Checking in ui/customizer/CustomizerCompile.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerCompile.java,v <-- CustomizerCompile.java new revision: 1.19; previous revision: 1.18 done Checking in ui/customizer/CustomizerCompile.form; /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerCompile.form,v <-- CustomizerCompile.form new revision: 1.10; previous revision: 1.9 done Checking in ui/customizer/WebProjectProperties.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v <-- WebProjectProperties.java new revision: 1.43; previous revision: 1.42 done