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 57481 - The web modules in a web freeform project should map to the underlying Java freeform compilation units
Summary: The web modules in a web freeform project should map to the underlying Java f...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
: 56904 (view as bug list)
Depends on:
Blocks: 66807 89477
  Show dependency tree
 
Reported: 2005-04-05 14:30 UTC by Andrei Badea
Modified: 2008-04-25 13:13 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 Andrei Badea 2005-04-05 14:30:41 UTC
The EJB freeform project creates an unnecessary <classpath> element in its
<ejb-data> section of project.xml. Also the implementation of some methods in
EJBModules.java is wrong, since it relies on the content of this element.
Comment 1 Andrei Badea 2005-11-02 15:05:21 UTC
*** Issue 56904 has been marked as a duplicate of this issue. ***
Comment 2 Milan Kubec 2006-06-15 13:04:43 UTC
Reassigning according to our discussion.
Comment 3 Andrei Badea 2006-08-01 13:27:47 UTC
The problem originally described in this issue was fixed. The classpath element
is not entirely unnecessary. Its contents is used to compute the return value of
the EjbJar module (or WebModule in the web freeform).

However, the correctness of this approach should still be investigated. The web
and EJB natures build on the Java nature, which has the concept of compilation
units. Compilation units can be disjunct and each one can have its own
classpath. However, the classpath element in the web and EJB natures seem to
ignore this and allow going across compilation unit boundaries. Instead of this,
a simple 1:N mapping of an EjbJar or WebModule to a set of compilation units
could be simpler and make more sense.
Comment 4 Andrei Badea 2007-07-04 09:58:09 UTC
The EJB freeform project has been dropped from NetBeans 6.0.
Comment 5 Andrei Badea 2007-07-18 10:00:26 UTC
Still applies to the web freeform.
Comment 6 Jiri Prox 2008-04-11 01:15:13 UTC
moving opened issues from TM <= 6.1 to TM=Dev