Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Adapting Phex (private networks) (https://www.gnutellaforums.com/adapting-phex-private-networks/)
-   -   error after build (https://www.gnutellaforums.com/adapting-phex-private-networks/37993-error-after-build.html)

cris23titi2005 May 23rd, 2005 02:55 PM

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!

GregorK May 24th, 2005 01:07 AM

You are using invalid version numbers.

Delete phexgui.xml...

cris23titi2005 May 25th, 2005 10:50 AM

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...

cris23titi2005 May 25th, 2005 11:51 AM

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!

GregorK May 25th, 2005 03:29 PM

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.

cris23titi2005 May 27th, 2005 01:40 PM

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

thanks!

arne_bab May 30th, 2005 05:39 AM

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

arne_bab September 8th, 2007 04:27 AM

qcris23titi2005: How far did you get already?


All times are GMT -7. The time now is 10:07 PM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.