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 36879 - Allow to search .jar files (not mounted as filesystems)
Summary: Allow to search .jar files (not mounted as filesystems)
Status: RESOLVED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: UI
: 49387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-29 07:33 UTC by Marian Petras
Modified: 2012-10-22 13:48 UTC (History)
2 users (show)

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 Marian Petras 2003-10-29 07:33:42 UTC
When searching for a file by name, the search
feature should be able to search through .jar
files. It means that if a .jar file was found in a
directory being searched, the .jar file's contents
would be searched recursively.

UI (proposal):
Add a combo-box "Search .jar files recursively" to
the dialog for entering search criteria.
Comment 1 Marian Petras 2005-05-13 15:59:18 UTC
Accepted.
Comment 2 Jesse Glick 2008-10-28 16:41:23 UTC
Possibly could be considered a duplicate of issue #49387, or vice-versa. Basically, when encountering a file with MIME
type application/x-java-archive, search logic should use FileUtil.getArchiveRoot and traverse recursively as if it were
a regular folder. Also JarDataLoader.defaultActions ought to include FindAction.
Comment 3 Andrey Yamkovoy 2009-01-16 09:12:13 UTC
*** Issue 49387 has been marked as a duplicate of this issue. ***
Comment 4 Jaroslav Havlin 2012-10-22 13:48:57 UTC
There is option "Search in Archives" in Find in Projects... dialog
since NetBeans 7.2.