|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
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 |
| |||
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 |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
duplicate installation | rzulub | Download/Upload Problems | 2 | December 19th, 2004 09:01 AM |
Avoiding duplicate files | lex | General Mac OSX Support | 3 | December 1st, 2004 03:55 PM |
[Bug 3.8.7] Duplicate connections as UP | et voilą | LimeWire Beta Archives | 32 | May 16th, 2004 06:23 AM |
Duplicate Incomplete *identical* files | ElCampero | Download/Upload Problems | 3 | May 10th, 2004 06:20 PM |
New feature : No more Files Duplicate | Unregistered | XoloX Feature Request | 16 | October 22nd, 2001 11:09 PM |