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.
Build 200703291800 (but I've experienced this also in continual builds from yesterday) Create or open Web project in new IDE with clean userdir.Build it. ERROR!!! Build fails on com.sun.tools.ws.ant.Apt cannot be found. Attaching logs.
Correction: There's nothing valid for the issue in messages.log and so is also truth for failed automated tests,therefore no attachment is neccessary.Only error message is this one in Output window: C:\Documents and Settings\Telco\My Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:72: taskdef class com.sun.tools.ws.ant.Apt cannot be found BUILD FAILED (total time: 0 seconds)
It fails in "-init-rest" target which was merged from "dev-restsupport" branch. Reassigning. Please fix it as soon as possible.
This probably is an oversight when remove SWDP library.
Right now if I create a brand new web project or a java project both build.xml and build-impl.xml are empty. That prevent me from fixing this issue.
The problem described in previous comment was reported as issue #99552. I think it is a duplicate of issue #98703. With JDK 1.6 it works fine, it is reproducible with JDK 1.5.
Fix by removing -init-rest target, replaced with direct use of ANT apt task: /cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v <-- build-impl.xsl new revision: 1.122; previous revision: 1.121
Fixed.
*** Issue 99612 has been marked as a duplicate of this issue. ***
Verified