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.
Project Properties -> Build -> Compiling Sources gives the option of "Generate debugging info" and "Report uses of deprecated APIs" but does not provide -Xlint support. Please add it.
DEFECT -> ENHANCEMENT.
Workaround: insert <compilerarg line="-Xlint:unchecked"/> right after the javac statement in build-impl.xml Example: <target name="-init-macrodef-javac"> ... <javac ...> <compilerarg line="-Xlint:unchecked"/> <classpath> ... Although I should point out this is a hassle, especially for those not familiar with Ant or where Netbeans actually stores the Ant build files. This issue is filed against the UI component because this sort of thing really should be part of the Project Properties.
First, editting directly build-impl.xml is wrong because as written at the beginning of file it is regenerated by IDE whenever needed. Edit build.xml instead - it uses new feature of Ant 1.6 that you can override targets from build-impl.xml there. Anyway, already fixed in issue 46995. *** This issue has been marked as a duplicate of 46995 ***
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.