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.

Bug 105293

Summary: Consider providing way to obtain project from ejb/web/ac modules
Product: javaee Reporter: Martin Adamek <madamek>
Component: CodeAssignee: martin_adamek <martin_adamek>
Status: NEW ---    
Severity: blocker CC: abadea
Priority: P2 Keywords: API
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Adamek 2007-05-31 17:23:30 UTC
It could be useful to have some way of obtaining owning project from mentioned
modules.
Comment 1 Andrei Badea 2007-06-01 09:34:14 UTC
I.e., something like (names subject to change):

Project WebModuleOwnerQuery.getOwner(WebModule webModule);

This would replace the current approach

FileOwnerQuery(webModule.getDeploymentDescriptor());

(or any other file obtained from the web module), which doesn't work e.g. for
modules without a deployment descriptor (especially true for EJB modules, where
the deployment descriptor is not required).