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 19813 - Provide a default list of well-known packages for import management tool
Summary: Provide a default list of well-known packages for import management tool
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-27 19:39 UTC by Stefan Wille
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
This is the imptool patch, created according to the "Contributing" document. (3.56 KB, patch)
2002-01-27 19:40 UTC, Stefan Wille
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Wille 2002-01-27 19:39:00 UTC
The settings dialog of the import management tool offers an option to resolve 
missing imports by searching a list of well-known packages
(see Tools/Options/Editing/Java Sources/Import Management Tool Settings/Guess
Strategy).
If enabled, the tool uses the List of Well-Known Packages defined just below
Guess Strategy.

This list is empty by default. The user must enter all packages he wishes to
include in the search,
which is time-consuming.

My patch changes the default to a list of all J2SE, all JAXP and most J2EE
packages.
This way, the packages that the user most likely wants are allready defined. 

I used Netbeans sources from CVS to make the patch, but it should apply 
cleanly on the Netbeans 3.3.1 sources.

The author of the import management tool is Tomas Hurka / SUN.
Comment 1 Stefan Wille 2002-01-27 19:40:32 UTC
Created attachment 4444 [details]
This is the imptool patch, created according to the "Contributing" document.
Comment 2 Tomas Hurka 2002-02-01 08:27:55 UTC
Hi Stefan,
thanks for the patch.
Comment 3 Tomas Hurka 2002-06-15 18:46:36 UTC
Done in trunk