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 - Declare JDK dependency in form module
Summary: Declare JDK dependency in form module
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on: 138721
Blocks: 135512
  Show dependency tree
 
Reported: 2008-06-10 13:56 UTC by Jiri Rechtacek
Modified: 2008-07-01 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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