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.
- Create JEE6 Web project - Invoke RESTful WS creation wizard: there will be RESTful WS configuration dialog in the end of the wizard. - Keep its options as is. Note that there are several options to configure: - generate ApplicationConfig class which extends javax.ws.rs.core.Application. - create servlet adaptor in web.xml - manual REST resources registration . The first option is selected by default ( in case of JEE6 ). - Find generated ApplicationConfig class. It has annotation @javax.ws.rs.ApplicationPath with resources location member value . One can change this location via "REST Resources Configuration" popup menu item called on "RESTful Web Services" root node. - Invoke configuration dialog via mentioned popup menu action. - Change the location value. As result it will be changed in the ApplicationConfig class. - Change member value in the annotation @javax.ws.rs.ApplicationPath of the ApplicationConfig class. - Open configuration dialog. The location value is not changed. So synchronization works only UI dialog-> ApplicationConfig class. This differs from servlet adaptor: UI dialog is completely synchronized with UI dialog ( in case of registration of RESTful resources via web.xml not ApplicationConfig class ).
changeset: 192912:40dfe535dcfc
Integrated into 'main-golden', will be available in build *201104270000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/40dfe535dcfc User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#198052 - REST resources path is not synchronized with ApplicationConfig.
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/40dfe535dcfc User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#198052 - REST resources path is not synchronized with ApplicationConfig.