One more simple way is go to docjar.com .. type your class name like
org.apache.axis2.engine.AxisEngine......
it will list the jars in which your class is in
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Beldyk
Sent: Thursday, March 20, 2008 21:54
To: [email protected]
Subject: Re: How do I learn which Axis2 JARs have which classes?
The way I find which jars hold the class I need is to do a grep of the
all the jar files (mind you, I'm coming from a unix background, and I assume
this would also work with cygwin in windows). Zip files seem to store the data
structure to access the stored files in an uncompressed way (letting me look
strings of the paths of files without any extra steps to extract them).
[10:17:12] [EMAIL PROTECTED]: ~/java_dev/client_libs
$ grep org.apache.axis2.deployment.DeploymentClassLoader *
Binary file axis2-kernel-1.3.jar matches
On Thu, Mar 20, 2008 at 1:44 AM, <[EMAIL PROTECTED]> wrote:
If it is still valuable to anyone. If you use eclipse as your
developing IDE. It has a nice feature how you can lookup classes.
Just press the keys Strg+Shift+T (alternatively open the Menu
"Navigate" --> "Open Type") and eclipse opens a "Open Type" dialog. There you
can start typing your classname and see all matching classes, including their
full qualified name and the jar they belong to.
Matthias.
> -----Ursprüngliche Nachricht-----
> Von: Nate Roe [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 14. März 2008 19:36
> An: '[email protected]'
> Betreff: RE: How do I learn which Axis2 JARs have which
classes?
>
>
> The difficulty is in finding a file from amongst several JARs.
> (basically foreach a directory's JARs, and then -tvf them.)
>
> I've written a small utility that serves me for this. See
the attached
> file.
>
> - Nate
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeff Greif
> Sent: Friday, March 14, 2008 10:52 AM
> To: [email protected]
> Subject: Re: How do I learn which Axis2 JARs have which
classes?
>
> Use the jar tool that comes with (Sun) java:
>
> jar tvf xxx.jar
>
> and is documented via a on the main page of the JDK
documentation
> (under Tools).
>
> You can combine this with other Unix-style shell tools if you
have the
> cygwin tools on your windows box:
>
> jar tvf xxx.jar | grep '*MetaData*
>
> to look for certain classes or packages by some part of their
name.
>
> You can also edit the jar with the Emacs editor, which shows
you a
> listing of files.
>
> Jeff
>
> On Fri, Mar 14, 2008 at 10:17 AM, Kraus, David
> <[EMAIL PROTECTED]> wrote:
> > I haven't hacked the registry. I have used WinZip to open
jar files
> as
> > zip files. Not sure whether this creates a file association
which
> helps.
> >
> > -----Original Message-----
> > From: Nate Roe [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 14, 2008 10:04 AM
> > To: '[email protected]'
> > Subject: RE: How do I learn which Axis2 JARs have which
classes?
> >
> >
> > I don't think this method will work unless you hack the
Windows
> > registry to tell it that a JAR is a ZIP. Maybe.
> >
> > I guess another way is to build a script (or a Java
program) to do
> > the looking.
> >
> > - Nate
> >
> > -----Original Message-----
> > From: Kraus, David [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 14, 2008 8:57 AM
> > To: [email protected]
> > Subject: RE: How do I learn which Axis2 JARs have which
classes?
> >
> > Hmmm...I didn't start using this method until about a year
ago. My
> OS
> > is Windows XP Professional. Not sure if previous windows
platforms
> > worked in the same way when doing file searches.
> >
> > I tried the same thing you mentioned:
> >
> > Navigated to: D:\axis2-1.2\lib
> > all files and folders: *.jar
> > a word or phrase in the file file: org/apache
> >
> > ...and I got a match on a large number of jar files...
> >
> > The jarfinder website also provides a way to look up jar
files, but
> > didn't seem to know axis2 jars.
> >
> >
> > -----Original Message-----
> > From: learn_n_share [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 13, 2008 10:35 PM
> > To: [email protected]
> > Subject: RE: How do I learn which Axis2 JARs have which
classes?
> >
> >
> > Hi Dave
> >
> > I have the same doubt. I tried using your guidelines but
couldn't
> > succeed.
> > Please guide me where i m wrong.
> >
> > i opened the C:\axis2\lib folder.
> > i pressed the serach button on the tool bar to open the
search
> window
> > on the left hand side of the current window.
> > clicked the "all files and folders" option entered
"*.jar" in "all
> > or part of filename"
> > entered "org/apache" in "a word or phrase in the file file"
> > "look in" to be "axis2\lib"
> > but couldn't get the results
> > guide me the correct way
> >
> > regards
> > --
> > View this message in context:
> >
> >
http://www.nabble.com/How-do-I-learn-which-Axis2-JARs-have-which-
> class
> > es
> > --tp16042438p16044726.html
> > Sent from the Axis - User mailing list archive at
Nabble.com.
> >
> >
> >
--------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
--------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
--------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
--------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Calvin: Know what I pray for?
Hobbes: What?
Calvin: The strength to change what I can, the inability to accept what
I can't, and the incapacity to tell the difference.