Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Open Discussion topics (https://www.gnutellaforums.com/open-discussion-topics/)
-   -   Obtaining LimeWire Source without registering to LimeWire? (https://www.gnutellaforums.com/open-discussion-topics/10100-obtaining-limewire-source-without-registering-limewire.html)

sipher April 7th, 2002 01:02 PM

Quote:

Originally posted by shorebreak
there would be no use for this forum then i guess... ;)



mahalo

Since you seemed to be able to fix that problem so easily have any idea how to fix this one:

"C:\Temp\limewire\core>set JAVA_HOME=D:\Programs\JavaSoft\JRE\1.3.1_03

C:\Temp\limewire\core>set CLASSPATH=.;lib/collections.jar;lib/xerces.jar;lib/MRJ
ToolkitStubs.jar

C:\Temp\limewire\core>
C:\Temp\limewire\core>ant
Buildfile: build.xml

init:

core:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 172 source files to C:\Temp\limewire\core

BUILD FAILED

C:\Temp\limewire\core\build.xml:57: Cannot use classic compiler, as it is not av
ailable A common solution is to set the environment variable JAVA_HOME to your j
dk directory.

Total time: 2 seconds"

I don't know what the deal is...
I installed that jre and the jdk or whatever and set the JAVA_HOME to various different directories, that was the only one that got even that far, set to any other directory it would just ant bad command or filename

shorebreak April 7th, 2002 01:27 PM

ok here is what I did....
 
I used the Java SDK 1.4.0. You should be fine using the Java JDK 1.3.x.

Open your .\core\compile.bat file. And edit it so it looks like this but with the correct paths for JAVA_HOME and ANT_HOME:

Code:

set CLASSPATH=.;lib/collections.jar;lib/xerces.jar;lib/MRJToolkitStubs.jar

set JAVA_HOME=D:\Programme\JavaSDK1.4.0
set ANT_HOME=D:\ant-141
set PATH=%PATH%;%ANT_HOME%\bin

ant

save it and
open .\gui\compile.bat:

Code:

REM NOTE:  If you are using a local core project, replace lib/core.jar
REM        with ../core
set CLASSPATH=.;lib/collections.jar;..\core;lib/xerces.jar;lib/jl011.jar

set JAVA_HOME=D:\Programme\JavaSDK1.4.0
set ANT_HOME=D:\ant-141
set PATH=%PATH%;%ANT_HOME%\bin

ant

save it.

Make sure that in both files the JAVA_HOME folder contains a file called javac.exe!

alright now do this:
Code:

cd..\core
compile

it should compile now and say build successfull
Code:

buildCoreJar
It should do something now
now you're in \gui
Code:

compile
it should also say build successfull

that's it.

you can run it by run the run.bat script or with this (set the path to javaw):

D:\Programme\JavaSDK1.4.0\bin\javaw.exe -classpath lib/collections.jar;lib/xerces.jar;lib/jl011.jar;lib;lib/core.jar;RunLime.jar RunLime


mahalo

sipher April 7th, 2002 02:59 PM

Now that I've done that I get that ant is a bad command or filename again :(

It seems that ant requires JAVA_HOME to be the path to the jre but in order ot actually compile it has to be set to the JDK or sdk or whatever it is. Dman thing will not work.

sipher April 7th, 2002 03:03 PM

Nevermind there it goes. It just didn't want the \bin on the end of hte path.

Thanks!!!!

shorebreak April 7th, 2002 03:05 PM

you're welcome!
 
mahalo

sipher April 20th, 2002 07:47 PM

Re: ok...
 
Does anyone know why the guest login won't work for CVS anymore?

MamiyaOtaru April 22nd, 2002 05:56 AM

By the way, you can use the command line instructions with winCVS. Just go to admin, command line. There, you can enter in command line stuff, you can just copy and paste the stuff from the website.

Unregistered April 25th, 2002 11:37 AM

ok, i've done exactly what was said in the previous posts and all i get back is this:

CVSROOT: :pserver:guest@cvs.limewire.org:/cvs (local mounted directory)
TCL is *not* available, shell is disabled
cvs checkout -P limewire (in directory C:\Limewire)
cvs [checkout aborted]: CVSROOT guest@cvs.limewire.org:/cvs must be an absolute pathname

*****CVS exited normally with code 1*****


can anyone tell me what i'm doing wrong?

Unregistered April 25th, 2002 11:59 AM

ok, n/m,
"cvs -d :pserver:guest@cvs.limewire.org:/cvs checkout limewire"
worked fine


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