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 136914

Summary: Declare JDK dependency in form module
Product: guibuilder Reporter: Jiri Rechtacek <jrechtacek>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 138721    
Bug Blocks: 135512    

Description Jiri Rechtacek 2008-06-10 13:56:45 UTC
Use manifest attribute OpenIDE-Module-Package-Dependencies to declare that a form module requires some classes from
jdk/tools.jar
More info about this attribute on
http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#how-vers
This attribute reads Autoupdate module while installing GUI Builder and avoid user running in JRE to install such plugins.
Comment 1 Jan Stola 2008-06-10 17:08:52 UTC
We don't need tools.jar, but dt.jar - we need Swing BeanInfos. I have declared dependency on 
[javax.swing.JComponentBeanInfo] because it doesn't work when I declare dependency on javax.swing[JComponentBeanInfo].

Modified files: http://hg.netbeans.org/main?cmd=changeset;node=24499d81bb5c