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 - Consider providing way to obtain project from ejb/web/ac modules
Summary: Consider providing way to obtain project from ejb/web/ac modules
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: martin_adamek
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2007-05-31 17:23 UTC by Martin Adamek
Modified: 2007-06-18 10:04 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).