Phex Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Adapting Phex (private networks)
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read

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


Welcome to Gnutella Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.



Once registered but before posting, members MUST READ the FORUM RULES (click here) and LimeWire/FrostWire users should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program. Whilst forum helpers are happy to help where they can, without these system details your post might be ignored. And wise to read How to create a New Thread

Thank you

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 23rd, 2005
Junior Member
 

Join Date: May 23rd, 2005
Posts: 7
cris23titi2005
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: 865
GregorK
Default

You are using invalid version numbers.

Delete phexgui.xml...
__________________
Reply With Quote
  #3 (permalink)  
Old May 25th, 2005
Junior Member
 

Join Date: May 23rd, 2005
Posts: 7
cris23titi2005
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
Junior Member
 

Join Date: May 23rd, 2005
Posts: 7
cris23titi2005
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: 865
GregorK
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
Junior Member
 

Join Date: May 23rd, 2005
Posts: 7
cris23titi2005
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,491
arne_bab is on a distinguished road
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,491
arne_bab is on a distinguished road
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



Thread Tools
Display Modes

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

vB 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 12:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2007 Gnutelliums LLC.
All Rights Reserved.