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 following lines (from the SJSAS plugin), on a project that contains a web app with a webservice do not work as expected... DeploymentConfiguration dc = getConfig(); DeployableObject dobj = dc.getDeployableObject(); DDBeanRoot webServicesRootDD = dobj.getDDBeanRoot("/webservices"); webServicesRootDD should now refer to a DDRoot representing /webservices. Passing "WEB-INF/webservices.xml" does work, but I should not have to do that (how could the plugin know? And it's going to be different for ejb's anyway.)
Agree that only filename (not the relative path) is needed as described by DeployableObject javadoc. I just wonder why "/webservices" and not "webservices.xml"?
Fixed. Now DeployableObject.getDDBeanRoot(String) accepts filename. /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/DeployableObjectImpl.java,v <-- DeployableObjectImpl.java new revision: 1.6; previous revision: 1.5 /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ModuleDeploymentSupport.java,v <-- ModuleDeploymentSupport.java new revision: 1.15; previous revision: 1.14