Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Development Open Discussion Anything else about the Phex development


Like Tree1Likes
  • 1 Post By arne_bab

 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4 (permalink)  
Old March 18th, 2007
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

We need to make it a bit cleaner. With all "use-dependencies", it is a bit intimidating

As short-lived option, you can use JavaDoc and Graphviz directly:

You need Graphviz on your computer: http://www.graphviz.org/
- the command for Graphviz is "dot"

Also you need UMLGraph: http://www.spinellis.gr/sw/umlgraph/
-> http://www.spinellis.gr/sw/umlgraph/UMLGraph-4.6.tar.gz
-> http://www.spinellis.gr/sw/umlgraph/...lGraph-4.6.jar
- the jar needs to be in ../javadoc for the following command to work.

With that and the bash (*nix) you can create UML diagrams with the following command (from inside the phex-svn-folder, i.e. trunk):

Code:
for i in src/phex/* ; do 
javadoc -sourcepath ./src/ -docletpath ../javadoc/UmlGraph.jar -doclet 
gr.spinellis.umlgraph.doclet.UmlGraph -private -horizontal $(find $i -iname 
\*.java) -inferrel -hide "java.*" -hide "javax.*" -hide "com.*" -hide "sun.*" -hide "org.*" -qualify -postfixpackage -inferreltype 
composed -inferdep -inferdepinpackage -useimports  ; dot graph.dot -Tsvg > 
phex-uml-$(basename $i).svg ; done;
It traverses into all directories and creates UML diagrams which are being saved as svg-images in the phex folder (i.e. trunk).

We want to integrate that into ant, but we didn't _yet_ do that...

Wishes,
Arne
kermithermos likes this.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] Phex 2.6.4.89 - phex upload stuck with "initializing" uploads pawelsz General Discussion 1 January 31st, 2006 02:34 PM
[BUG] Phex 2.6.4.89 - phex window graphic corruption pawelsz General Discussion 4 September 18th, 2005 06:38 PM
getting incomplete documents over to complete documents Unregistered Open Discussion topics 3 March 26th, 2002 03:39 PM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 05:29 AM


All times are GMT -7. The time now is 07:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.