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.
The XML API should be mentioned in arch*.xml document using <api group"layer" /> tag and if possible should be tested by appropriate unit tests.
Also please fix other API categories: EJB is standard, OpenAPI official, etc.
The documentation issues are fixed. Checking in arch.xml; /cvs/j2eeserver/arch.xml,v <-- arch.xml new revision: 1.3; previous revision: 1.2 done Processing log script arguments... More commits to come... Removing api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/package.html; /cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/package.html,v <-- package.html new revision: delete; previous revision: 1.1 done Checking in api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/plugin-layer-file.html; /cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/doc-files/plugin-layer-file.html,v <-- plugin-layer-file.html new revision: 1.2; previous revision: 1.1 done Processing log script arguments... More commits to come... RCS file: /cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html,v done Checking in api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html; /cvs/j2eeserver/api/doc/org/netbeans/modules/j2ee/deployment/plugins/api/package.html,v <-- package.html initial revision: 1.1 done Processing log script arguments... More commits to come... Checking in nbproject/project.properties; /cvs/j2eeserver/nbproject/project.properties,v <-- project.properties new revision: 1.3; previous revision: 1.2 done Checking in nbproject/project.xml; /cvs/j2eeserver/nbproject/project.xml,v <-- project.xml new revision: 1.3; previous revision: 1.2 done
Created attachment 18446 [details] commit log for tests
I have added basic unit tests for registration of various factories in layer and in deployment xml file (ServerRegistryTest). Most tests are reincarnation of existing tests but the way they were built is simplified (standard unit tests instead of 2 modules). More tests may be added in future but this should be enough for now.
ServerRegistryTestBase is really advanced. Ok, that is good start, just keep your work in this direction.