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.
For some reason I cannot imagine, nbbuild/build.xml includes the line: <property name="build.sysclasspath" value="ignore"/> but it is commented out! Setting it to "ignore" is very valuable as it enforces good practices in declaring your classpath when compiling. It also permits the build to work smoothly inside the IDE (or in other unexpected situations). Currently (after a few fixes) the build should work in this mode. Please turn it on and leave it on.
I removed the comments.