Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old February 24th, 2002
rogerx1
Guest
 
Posts: n/a
Question imeXMLProperties.java duplicate dir declaration

Got the following when trying to compile core/ with j2sdk-1.4.0-fcs (see bottom of post for error output).

Just compared the code from limewire-2.02 and to limewire-2.2. It seems like there was a small change which provoked the error to occur:

v2.02 code:
File: core/com/limegroup/gnutella/xml/LimeXMLProperties.java

public boolean accept(File dirb, String name)

File: core/com/limegroup/gnutella/xml/LimeXMLProperties.java
@line325
-public boolean accept(File dir, String name)
+public boolean accept(File dirb, String name)

used "dirb" instead of "dir" in limewire-2.2 which surpressed the
"duplicate declaration error".


---- Old Error Output ----
core/
$ ./compile
Buildfile: build.xml

init:

core:
[javac] Compiling 1 source file to
/home/roger/src/limewire-source/limewire/core
[javac]
[javac] Found 1 semantic error compiling
"/home/roger/src/limewire-source/limewire/core/com/limegroup/gnutella/xml/LimeXMLProperties.java":
[javac]
[javac] 325. public boolean accept(File dir,
String name)
[javac] <->
[javac] *** Error: Duplicate declaration of local variable "dir".

BUILD FAILED

/home/roger/src/limewire-source/limewire/core/build.xml:56: Compile
failed, messages should have been provided.

Total time: 3 seconds
Reply With Quote
 


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
duplicate installation rzulub Download/Upload Problems 2 December 19th, 2004 08:01 AM
Avoiding duplicate files lex General Mac OSX Support 3 December 1st, 2004 02:55 PM
[Bug 3.8.7] Duplicate connections as UP et voilą LimeWire Beta Archives 32 May 16th, 2004 05:23 AM
Duplicate Incomplete *identical* files ElCampero Download/Upload Problems 3 May 10th, 2004 05:20 PM
New feature : No more Files Duplicate Unregistered XoloX Feature Request 16 October 22nd, 2001 10:09 PM


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