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.
Steps to reproduce: 1) Create Web Project with JEE6 profile . 2) Create RESTful WS ( choose any wizard for this ). In the result number of classes will be generated. One of such class is ApplicationConfig extends javax.ws.rs.core.Application. It is used for REST WS registration in the runtime. The latter class contains confusing annotation : /** * This class is generated by the Netbeans IDE, * and registers all REST root resources created in the project. * Please, DO NOT EDIT this class ! */ The text of this annotation should be corrected: user is able to edit this class. It is legal to edit at least value of the annotation @javax.ws.rs.ApplicationPath. The change of this value is convenient way to set resource path for REST WS.
changeset: 192675:95fef8d6f4b9
Integrated into 'main-golden', will be available in build *201104260000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/95fef8d6f4b9 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#197776 - Confusing comment for generated ApplicationConfig class