Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Java cross-reference tools

Thread view: 
Mike  Schilling - 19 Jun 2007 18:36 GMT
Can anyone recommend a good, downloadable Java cross-reference tool?  That
is, one where the input is a class and a classpath, and the output is all
the classes the first one references, directly or indirectly.  (References
statically, at least.  A list of calls to Class.forName() would be an
optional goodie.)
Ricardo Palomares Martinez - 19 Jun 2007 20:07 GMT
Mike Schilling escribió:
> Can anyone recommend a good, downloadable Java cross-reference tool?  That
> is, one where the input is a class and a classpath, and the output is all
> the classes the first one references, directly or indirectly.  (References
> statically, at least.  A list of calls to Class.forName() would be an
> optional goodie.)

I suppose you already know that, but NetBeans can do something similar
that if you have the source code (Find Usages), and I bet Eclipse can,
too.

HTH

Signature

If it's true that we are here to help others,
then what exactly are the OTHERS here for?

Mike  Schilling - 19 Jun 2007 21:59 GMT
Mike Schilling escribió:
>> Can anyone recommend a good, downloadable Java cross-reference tool?
>> That
[quoted text clipped - 3 lines]
>> statically, at least.  A list of calls to Class.forName() would be an
>> optional goodie.)

> I suppose you already know that, but NetBeans can do something similar
> that if you have the source code (Find Usages), and I bet Eclipse can,
> too.

As can IntelliJ.  What I need is something that'll do it recursively and
print a report.
Greg R. Broderick - 20 Jun 2007 04:42 GMT
"Mike  Schilling" <mscottschilling@hotmail.com> wrote in news:UsXdi.5324
$c06.665@newssvr22.news.prodigy.net:

> Mike Schilling escribió:
>>> Can anyone recommend a good, downloadable Java cross-reference tool?
[quoted text clipped - 11 lines]
> As can IntelliJ.  What I need is something that'll do it recursively and
> print a report.

Mike:

Have you tried Structural Analysis for Java, from IBM AlphaWorks?

<http://www.alphaworks.ibm.com/tech/sa4j>

Cheers!
GRB

Signature

---------------------------------------------------------------------
Greg R. Broderick                  usenet200705@blackholio.dyndns.org

A. Top posters.
Q. What is the most annoying thing on Usenet?
---------------------------------------------------------------------

Jeff Higgins - 19 Jun 2007 22:19 GMT
Mike Schilling
> Can anyone recommend a good, downloadable Java cross-reference tool?  That
> is, one where the input is a class and a classpath, and the output is all
> the classes the first one references, directly or indirectly.  (References
> statically, at least.  A list of calls to Class.forName() would be an
> optional goodie.)

Haven't tried it.
<http://classycle.sourceforge.net/index.html>
Ed - 20 Jun 2007 06:47 GMT
> Mike Schilling
>
[quoted text clipped - 6 lines]
> Haven't tried it.
> <http://classycle.sourceforge.net/index.html>

Jeff, thanks for the reference, though I must be getting old: I'm
immediately turned off when I start a tool and pukes the following all
over my console:

Usage: java -jar classycle.jar [-raw] [-packagesOnly] [-cycles|-
strong] [-xmlFile=<file>] [-csvFile=<file>] [-title=<title>] [-
mergeInnerClasses] [-includingClasses=<pattern1>,<pattern2>,...] [-
excludingClasses=<pattern1>,<pattern2>,...] [-
reflectionPattern=<pattern1>,<pattern2>,...] <class files, zip/jar/war/
ear files, or folders>

I know the tool's trying to be helpful, but I just feel ... disuaded,
somehow. I'd be much happier if it said, "Please enter the path to the
file you'd like analysed," and then defaulted everything else to
something unsurprising.

Oh, and I second SA4J: "Loaaavely plumage."

.ed

--

www.EdmundKirwan.com - Home of The Fractal Class Composition

Download Fractality, free Java code analyzer:
www.EdmundKirwan.com/servlet/fractal/frac-page130.html
Jeff Higgins - 20 Jun 2007 14:07 GMT
>> Haven't tried it.
>> <http://classycle.sourceforge.net/index.html>
>
> Jeff, thanks for the reference, though I must be getting old: I'm
> immediately turned off when I start a tool and pukes the following all
> over my console:

yes agreed.
I tried: java -jar classycle.jar -xmlFile=classycle.xml classycle.jar

> I know the tool's trying to be helpful, but I just feel ... disuaded,
> somehow.
>
> Oh, and I second SA4J: "Loaaavely plumage."

classycle.jar + reportXMLtoHTML.xsl ~ 120k
SA4J ~ 60M

59M feathers? But thanks for the response, I've now tried both products
and SA4J certainly is pretty

JH


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.