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 70959 - [50cat] Add an "All Packages" option for Library Wrapper Modules
Summary: [50cat] Add an "All Packages" option for Library Wrapper Modules
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 20:53 UTC by misterm
Modified: 2006-01-05 18:43 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 misterm 2006-01-03 20:53:59 UTC
[ BUILD # : 20051218 ]
[ JDK VERSION : 1.4.2_xx ]

If one wants to allow all packages contained in a jar (or several jars) to be public, there is currently no option but to select every package one by one. Besides being a boring task, this can lead to problems when new packages are added to a jar, for example.

There should be an option in the project customizer in order to make possible to expose all packages as public.
Comment 1 Jesse Glick 2006-01-04 19:01:22 UTC
project.xml can contain <subpackages> if necessary (see harness/README for
details). This option is intentionally omitted from the GUI for simplicity.
Comment 2 misterm 2006-01-05 00:08:51 UTC
As far as I understand it, <subpackages /> only work if the module name is
actually a prefix for them, what is not my case since both the framework I am
working on and the module for adding its jars reside in the same CVS tree (so
framework is org.framework, but plugin base is actually
org.framework.plugin.netbeans).

Unless I have missed something, it would still make sense to add this option to
the UI. Please let me know if you agree.
Comment 3 Jesse Glick 2006-01-05 18:43:00 UTC
<subpackages>org.framework</subpackages> is what you want.