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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 3rd, 2008
Novicius
 
Join Date: July 3rd, 2008
Posts: 1
comdata55 is flying high
Default Compiling Problem

Hi, I am brand new to this. I downloaded the source and built it. It compiled and ran perfectly. I then changed something in the gui and rebuilt and restarted, it worked. I then made another change and now any changes i make do show after rebuilding and restarting. is there a file cache or something that would stop code changes from compiling? or am i missing something?
Reply With Quote
  #2 (permalink)  
Old July 3rd, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Try to do:
ant clean buildAll
It will delete all compiled files and completely rebuild from source.
__________________
Reply With Quote
  #3 (permalink)  
Old July 21st, 2008
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

It doesn't build for me either:

Log:

Quote:
compileSource:
[javac] Compiling 750 source files to /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/output/classes
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:45: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.CheckForNull;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:46: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.NonNull;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/MemoryFile.java:30: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.NonNull;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/gui/macosx/GURLHandler.java:29: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.SuppressWarnings;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/prefs/OldCfg.java:43: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.SuppressWarnings;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/prefs/core/PrivateNetworkConstants.java:25: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.SuppressWarnings;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/query/QueryMsgToWriterMonitor.java:29: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.NonNull;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/utils/IOUtil.java:38: package edu.umd.cs.findbugs.annotations does not exist
[javac] import edu.umd.cs.findbugs.annotations.SuppressWarnings;
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:101: cannot find symbol
[javac] symbol : class NonNull
[javac] location: class phex.download.swarming.SWDownloadFile
[javac] @NonNull
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:597: cannot find symbol
[javac] symbol : class CheckForNull
[javac] location: class phex.download.swarming.SWDownloadFile
[javac] @CheckForNull
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:633: cannot find symbol
[javac] symbol : class CheckForNull
[javac] location: class phex.download.swarming.SWDownloadFile
[javac] @CheckForNull
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/swarming/SWDownloadFile.java:664: cannot find symbol
[javac] symbol : class NonNull
[javac] location: class phex.download.swarming.SWDownloadFile
[javac] @NonNull
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/MemoryFile.java:679: cannot find symbol
[javac] symbol : class NonNull
[javac] location: class phex.download.MemoryFile
[javac] private void releaseMultiBlockedAllocScope(@NonNull DownloadScope unblockScope,
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/download/MemoryFile.java:680: cannot find symbol
[javac] symbol : class NonNull
[javac] location: class phex.download.MemoryFile
[javac] @NonNull SWDownloadCandidate downloadCandidate)
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/gui/macosx/GURLHandler.java:108: cannot find symbol
[javac] symbol : method justification()
[javac] location: @interface java.lang.SuppressWarnings
[javac] @SuppressWarnings( value="NM_METHOD_NAMING_CONVENTION", justification="native method")
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/prefs/OldCfg.java:55: cannot find symbol
[javac] symbol : method justification()
[javac] location: @interface java.lang.SuppressWarnings
[javac] @SuppressWarnings( justification="Obsolete class will be dropped in the future.")
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/query/QueryMsgToWriterMonitor.java:59: cannot find symbol
[javac] symbol : class NonNull
[javac] location: class phex.query.QueryMsgToWriterMonitor
[javac] public QueryMsgToWriterMonitor( @NonNull Writer outputWriter )
[javac] ^
[javac] /home/arne/Dokumente/1-noch-zu-backuppen/Programme/phex/trunk/src/main/java/phex/prefs/OldCfg.java:55: annotation java.lang.SuppressWarnings is missing value
[javac] @SuppressWarnings( justification="Obsolete class will be dropped in the future.")
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 18 errors
Missing packages?
__________________

-> 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
  #4 (permalink)  
Old July 21st, 2008
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

I fixed it in SVN.

At least for me it builds again.

Thanks for the headstart, Gregor!
__________________

-> 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
  #5 (permalink)  
Old November 26th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Hello people,

I just downloaded phex source, and followed the installation guide from the phex-wiki, but i have a problem when trying to run phex using "java -jar target/phex.jar". I get an Exception from org.xsocket.datagram.idatagramhandler - NoClassDefFoundError.


Does anyone have a clue about this?


Reply With Quote
  #6 (permalink)  
Old November 26th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

I got this problem when i run Phex with java, can anyone help?



Thanks.
Attached Thumbnails
Compiling Problem-phexcompilererrorqa3.gif  

Last edited by Lord of the Rings; November 26th, 2008 at 08:57 AM. Reason: Imageshack is on our forum filter list, plus a more permanent listing would be best for future reference. :) GiF'd it 2-tone.
Reply With Quote
  #7 (permalink)  
Old November 26th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Please try to update again from SVN and rebuild.
__________________
Reply With Quote
  #8 (permalink)  
Old November 26th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Thanks gonna try that.
Reply With Quote
  #9 (permalink)  
Old November 26th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Excellent, it works perfectly now! thank you very much!
Reply With Quote
  #10 (permalink)  
Old November 26th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Great, I would be interested what your experience is with the current SVN build. There have been many changes under the hood and I like to know if they make a good impression and if they are stable enough to be released.
__________________
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



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


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.