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 76978 - Project design-time classpath needed
Summary: Project design-time classpath needed
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 76979
  Show dependency tree
 
Reported: 2006-05-27 00:06 UTC by _ edwingo
Modified: 2011-08-31 14:06 UTC (History)
0 users

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 _ edwingo 2006-05-27 00:06:14 UTC
NetBeans needs to allow a separate design-time classpath that is separate
from complie-time and runtime (packaged flag) classpaths to limit the scope
of references available during code-completion. Currently, since there is
no concept of a design-time classpath, the BeanInfo classes are included in
the complie-time classpath. Thus when a user is working in the java editor
and uses code-completion, BeanInfo classes incorrectly appear. BeanInfo
classes are part of the design-time classpath and are not deployed, ie. 
packaged, and so an app that uses them will fail when deployed.
Comment 1 Jesse Glick 2006-05-27 00:12:58 UTC
Seems like it should suffice for the form editor to use ClassPath.RUNTIME if it
doesn't already, but we would need 'j2se' libraries to support an extra optional
'designpath' which e.g. j2seproject would need to interpret in RUNTIME but not
COMPILE.
Comment 2 _ edwingo 2006-05-27 00:37:20 UTC
See http://www.netbeans.org/issues/show_bug.cgi?id=76979 for more info. This
issue is also useful for other kinds of projects.