Gnutella Forums  

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

Adapting Phex (private networks) Private networks, modified versions and similar


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 23rd, 2005
Apprentice
 
Join Date: May 23rd, 2005
Posts: 7
cris23titi2005 is flying high
Default error after build

hi! after i build the source code, and type the command:
java -jar phex.jar

i have the error:
java.lang.NumberFormatException: For input string: "01 2"
at java.lang.NumberFormatException.forInputString(Num berFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at phex.utils.VersionUtils.tokenizeVersion(VersionUti ls.java:174)
at phex.utils.VersionUtils.compare(VersionUtils.java: 140)
at phex.gui.common.GUIRegistry.updateGUISettings(GUIR egistry.java:416)
at phex.gui.common.GUIRegistry.loadGUISettings(GUIReg istry.java:253)
at phex.gui.common.GUIRegistry.initialize(GUIRegistry .java:92)
at phex.Main.main(Main.java:119)

why????
can some help me?
i have
jdk and jre 1.5

thanks!
Reply With Quote
  #2 (permalink)  
Old May 24th, 2005
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You are using invalid version numbers.

Delete phexgui.xml...
__________________
Reply With Quote
  #3 (permalink)  
Old May 25th, 2005
Apprentice
 
Join Date: May 23rd, 2005
Posts: 7
cris23titi2005 is flying high
Unhappy i dont have phexgui.xml

thanks for your answer but, i dont have an xml file named: phexgui.xml, only:
in the directory /phex/build
build.xml
buildJava.xml
buildJWS.xml
javadoc.xml
makeRelease.xml
testSuite.xml

on may 22, i get the phex source and make the instructions from this url:
http://cvs.sourceforge.net/viewcvs.p...LL?view=markup


before that date, i can build and run phex source sucessfull, but on may 23 i delete all and download it again.. and dont works
...
i continue with the same error...

help me please...
Reply With Quote
  #4 (permalink)  
Old May 25th, 2005
Apprentice
 
Join Date: May 23rd, 2005
Posts: 7
cris23titi2005 is flying high
Default thanks, bug fixed!!

i found that file..

all works good one more time... jeje

one question.. if i change the source code.
I need run this command:

cvs update -dPA

and later:

Step 2: Build Phex
From the phex/build directory, execute:
ant

This should be sufficient to build Phex.

Step 3: Run Phex
From the phex/output direcoty, execute:
java -jar phex.jar

or only the steps: 2 and 3?

thanks again!
Reply With Quote
  #5 (permalink)  
Old May 25th, 2005
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You only need to use CVS update if you want to update your sources with the changes from the Phex team.

You should not execute the ant task 'makeRelease' (it modifies the version file), also please dont modfiy phex/resources/phex.properties and phex/resources/version.properties.
Modification of the version could lead to the problem you saw and also to other problems in case you like to update the Phex sources to our changes.

It would also be very nice if you would share your changes to the Phex code with us. Maybe they can be usefull to integrate into the main Phex release.
__________________
Reply With Quote
  #6 (permalink)  
Old May 27th, 2005
Apprentice
 
Join Date: May 23rd, 2005
Posts: 7
cris23titi2005 is flying high
Default yes

when i finish i will to share my modifications...

thanks!
Reply With Quote
  #7 (permalink)  
Old May 30th, 2005
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

Would you like to give us a hint about the mods you do?
__________________

-> 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
  #8 (permalink)  
Old September 8th, 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

qcris23titi2005: How far did you get already?
__________________

-> 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
Morpheus 5.1.2 Build 910 Vampmon Morpheus (Windows) 0 February 14th, 2006 03:05 PM
error after cvs-build mido General Discussion 3 August 13th, 2005 09:51 AM
If you build it svengali Mac OSX 2 February 17th, 2003 01:31 PM
Error Message with 1.31 Build 388 Zuwapa Support: Bugs 1 October 17th, 2002 05:55 PM
Trying to build from source Cornholio General Windows Support 2 August 28th, 2002 12:10 PM


All times are GMT -7. The time now is 04:01 PM.


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.