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 March 7th, 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 trunk broken - sorry

Hi Gregor,

I just tried to build trunk on another computer than mine, and it seems I broke something.

I'm just trying to find out what it was I broke.
__________________

-> 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
  #2 (permalink)  
Old March 7th, 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

Besides: I had to take a step back from implementing Credence. I found out that i simply don't have the Java skills this would require (And the guys at university said "sorry, we can't fit that into the requirements for a Praktikum"). Sorry for that, too...

Instead of being able to program on Phex during the Praktikum, I'll now do performance tests to see, if using the technics in Phex (and other p2p networks) would be useful for I/O in clusters.
__________________

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

Last edited by arne_bab; March 7th, 2008 at 04:18 AM.
Reply With Quote
  #3 (permalink)  
Old March 7th, 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

At least I know where the breakage came from: I merged the trunk in, then began implementing changes, and then committed the changes... and saw that in svn you _have to_ commit after merging (I was used to that being done automatically as it happens in mercurial... the trap snapped hard).
__________________

-> 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 March 7th, 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

Update: A clean checkout builds on my main computer, but not on the other. I'll have to check the java version, it seems.

Update2: the other computer has only Java 1.5, while I use Java 1.6, so this might be the problem.
__________________

-> 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 March 7th, 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 diff

diff
Attached Files
File Type: txt undo-dl-to-rel-dir.txt (952 Bytes, 157 views)
__________________

-> 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
  #6 (permalink)  
Old March 7th, 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

Verified. I broke Java 1.5 compatibility. I'll have to check, how to undo that.

As first step, I'll just remove the breaking code.

Here's a diff (since it seems I can't commit anymore).

Code:
Index: src/main/java/phex/utils/InternalFileHandler.java
===================================================================
--- src/main/java/phex/utils/InternalFileHandler.java   (Revision 4144)
+++ src/main/java/phex/utils/InternalFileHandler.java   (Arbeitskopie)
@@ -66,14 +66,14 @@

                 // dont add already downloading or shared urns.
                 // If we've got a relativeDownloadDir, download to there.
-                if ( relativeDownloadDir.isEmpty() )
-                {
+                //if ( relativeDownloadDir.isEmpty() )
+                //{
                     downloadUri( uri );
-                }
-                else
-                {
+                //}
+                //else
+                //{
                     downloadUri( uri, relativeDownloadDir );
-                }
+                //}

             }
 /*            String uuri = parser.getUpdateURI();
__________________

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

And while I'm saying sorry, I'd like to add some more:
I wanted to transfer the domain for quite some time and didn't get to it. Then KDe lost control over spreadkde.org while trying to transfer it, and I got cold feet... but I forgot to say it whenevery I saw you (gk) online. Sorry for that, too.

How safe is domain transfer really in germany?
__________________

-> 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 March 10th, 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

My commit works again (forced password change by sourceforge - I should login at the website a bit more often, it seems ), and I added the semi-workaround, so the trunk should now compile again.

I'll recheck the code with Java 1.5 to get magma downloads into subfolders again, but that will take a bit (that's the reason for just doing the hack now - I just commented out the breaking code - I'll do a proper fix the following weeks).

Besides: Downloading any other download list into subfolders mostly requires extracting the intended name of the folder from teh list, the rest is just a matter of a little copy'n'paste.
__________________

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



All times are GMT -7. The time now is 11:20 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.