Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Windows Support (https://www.gnutellaforums.com/general-windows-support/)
-   -   Trying to build from source (https://www.gnutellaforums.com/general-windows-support/14900-trying-build-source.html)

Cornholio August 27th, 2002 04:40 PM

Trying to build from source
 
I'm attempting to compile the limewire source (production build) and am having problems. Any suggestions would be appreciated. I've already built the core, and am trying to build the gui. Here's the output:


C:\Program Files\Limewire_255\limewire\gui>compile

C:\Program Files\Limewire_255\limewire\gui>REM NOTE: If you are using a local c
ore project, replace lib/core.jar

C:\Program Files\Limewire_255\limewire\gui>REM with ../core

C:\Program Files\Limewire_255\limewire\gui>set CLASSPATH=.;lib/collections.jar;.
./core;lib/xerces.jar;lib/jl011.jar

C:\Program Files\Limewire_255\limewire\gui>ant
Buildfile: build.xml

init:

clientonly:
[javac] Compiling 222 source files to C:\Program Files\Limewire_255\limewire
\gui
[javac] C:\Program Files\Limewire_255\limewire\gui\com\limegroup\gnut ella\gu
i\library\LinkHandler.java:194: unreachable statement
[javac] return "<html><a href=\"\">"+LABEL_STRING+"</a><
/html>";;
[javac]
^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

BUILD FAILED
file:C:/Program Files/Limewire_255/limewire/gui/build.xml:49: Compile failed; se
e the compiler error output for details.

Total time: 24 seconds
C:\Program Files\Limewire_255\limewire\gui>

Unregistered August 27th, 2002 05:54 PM

Unreachable statement
 
Either change the return line to this or comment out the rest of the code after the return line in that method.

if (true) return "<html><a href=\"\">"+LABEL_STRING+"</a></html>";;

Cornholio August 28th, 2002 12:10 PM

Thanks for the suggestion, but it didn't work. Now, I get:

[javac] C:\Program Files\Limewire_255\limewire\gui\com\limegroup\gnut ella\gu
i\library\LinkHandler.java:193: missing return statement
[javac] private String getLabel() {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

Also, does anyone know why the code in the Production Build doesn't compile? One would think this code would be in a buildable state...


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