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

Summary: Project design-time classpath needed
Product: projects Reporter: _ edwingo <edwingo>
Component: LibrariesAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 76979    

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.