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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 16th, 2007
Apprentice
 
Join Date: March 16th, 2007
Posts: 6
duclh is flying high
Default Phex 3.0.2 Class structure documents

Hi,
I am a new developer about Phex3.0.2
Please tell me where i could find out the documents about Phex3.0.2 class structure

Thank in advance!
--no mail addresses in this forum, please---

Last edited by arne_bab; March 17th, 2007 at 02:27 AM.
Reply With Quote
  #2 (permalink)  
Old March 17th, 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

By checking out Phex via subversion, you can create Javadocs, which should give you first information about the structure of Phex.

Accessing the sources:
Code:
svn co https://phex.svn.sourceforge.net/svnroot/phex/phex/trunk phex
- from: http://wiki.phex.org/Subversion

Javadocs:
Code:
cd build
ant javadoc
For more information, I'm afraid you'll have to ask Gregor: http://www.gnutellaforums.com/member...poster&t=65691

Best wishes,
Arne

PS: We need someone who wants to create a class structure text for the wiki: http://wiki.phex.org .
__________________

-> 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
  #3 (permalink)  
Old March 17th, 2007
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Arne what about the UML you created... ant??
__________________
Reply With Quote
  #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
Reply


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 06:10 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.