Jar Class Search - plugin detail

Search for specified Classname within jars

NetBeans Plugin - Jar Class Search
Plugin owner: dante
Website: http://blogs.sun.com/toxophily/
Added: 2009-01-12
License: CDDL
Category: Utilities
Downloaded: 1,910 times
Rating:
 4.37, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.05 MB   Last Update: 2010-12-01

What's new in this version

Modified to display all occurances of a class in the jar if only the name is specified. Also added the feature to take the java.lang.NoClassDefFoundError and paste that into the search box; i.e. the class name / path from java.lang.NoClassDefFoundError: org/apache/batik/ext/awt/image/renderable/Filter will search for the fully packaged class. Added History functionality so that the plugin will save the last 10 ClassNames and Root Paths

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.05 MB   Last Update: 2010-12-01

What's new in this version

Modified to display all occurances of a class in the jar if only the name is specified. Also added the feature to take the java.lang.NoClassDefFoundError and paste that into the search box; i.e. the class name / path from java.lang.NoClassDefFoundError: org/apache/batik/ext/awt/image/renderable/Filter will search for the fully packaged class. Added History functionality so that the plugin will save the last 10 ClassNames and Root Paths

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

The simple Module allows the user to search for Class names within all Jars in and below a specified directory. The search criteria is based on part of the full package name and so if you only know the name of the Class but not its full package you will still be able to search.

[ You have to be logged in to be able to comment. ]

User Comments

  

Good plugin! Does not follow "links"?

Great idea! Very useful for maintaining jars, etc. On the minus I am not sure it is following linux file links.
Posted by smokindoug on Jan 06, 2011
  

It gets an exception.

Like karl_garcia, it does nothing when I click on it.

Then I noticed a little icon flashing in the lower right hand corner of my screen. I click on it and see that it has generated this exception:

java.lang.NoClassDefFoundError: javax/swing/GroupLayout
at com.aph.jar.search.module.JarSearchResultsTopComponent.initComponents(JarSearchResultsTopComponent.java:161)
at com.aph.jar.search.module.JarSearchResultsTopComponent.(JarSearchResultsTopComponent.java:34)
at com.aph.jar.search.module.JarSearchResultsTopComponent.getDefault(JarSearchResultsTopComponent.java:357)
at com.aph.jar.search.module.JarSearchResultsTopComponent.findInstance(JarSearchResultsTopComponent.java:370)
at com.aph.jar.search.module.SearchJarAction.performAction(SearchJarAction.java:16)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
at java.awt.MenuItem.processEvent(MenuItem.java:556)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I see this a lot when I deliver apps I've developed to others. I fix it by sending some jar files specific to Netbeans along with my jar file. I would have thought it would find those running as it is inside Netbeans. I'm running 6.5.1 on a Mac.
Posted by gmeazell on Sep 18, 2009
  

does it work in Netbeans 6.5.1 ?

I downloaded it and installed.. I see the icon next to the memory meter. Also can be run in Edit->Search For Class.

But both places when I click nothing happens. I tried highlighting a class, then clicking and nothing happens thru both.

Any ideas?
Posted by karl_garcia on Aug 19, 2009
  

Why not searching in classpath as an default setting?

Nice tool, but there should be a default setting which searches in the classpath of the current project.This would be helpful if there are naming or version conflicts depending on the order of the used jars.
Posted by jiai on Jan 17, 2009
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo