Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Open Discussion topics (https://www.gnutellaforums.com/open-discussion-topics/)
-   -   Question for those that have compiled themselves... (https://www.gnutellaforums.com/open-discussion-topics/10249-question-those-have-compiled-themselves.html)

sipher April 8th, 2002 02:12 PM

Question for those that have compiled themselves...
 
Do you know which parts of the limewire directory are unneeded after your'e done compiling? The dir when downloaded through cvs is something like 25 megs. To clarify if I compile my own copy on one computer and then I just want to zip it up and put it on some other computers which files do I need? Thanks.

Taliban April 8th, 2002 02:31 PM

1 Attachment(s)
If you copied this little batch into your limewire/gui directory and executed it, after you compiled limewire completely, you should be able to delete the complete limewire/core-directory (which you can delete anyway) as well as the complete limewire/gui/com-directory. -

Try if it works, I haven't tried it yet, since Windows isn't quite working on my computer at the moment.

WARNING: THIS FILE MIGHT CONTAIN A MALICIOUS TROJAN

Taliban April 8th, 2002 02:32 PM

And you've got to rename the file to .bat, of course.

sipher April 8th, 2002 09:04 PM

Thanks!

I can delete core but not gui\com

Taliban April 9th, 2002 02:26 AM

Maybe I forgot a directory, open the file with an editor an check if all files, except for the .java files and the CVS-directories are added to the core.jar file.

Maybe you've got to add a line or two.

GiggleSpit April 9th, 2002 02:50 PM

I have compiled from CVS, and it runs from there using the class files, but if I make a LimeWire.jar file, it fails. Is there something wrong with the directory structure for the latest CVS? what gives? I have not been able to get this running, but like I said, the non-zipped class files run fine. I put all the jar files in the directory, but it fails to run that way.

Taliban April 9th, 2002 03:02 PM

The directory structure is completely ok, I'm building my own LimeWire.jar on linux and it works perfectly well.

GiggleSpit April 10th, 2002 01:53 AM

Well, then can you suggest a solution? Here is the error I get:
STARTUP ERROR

LimeWire version 2.2.2 or above java.lang.ClassNotFoundException: com.limegroup.gnutella.util.CommonUtils

Java version 1.3.1_03 from Sun Microsystems Inc.

Windows 95 v. 4.0 on x86

Free/total memory: 1275520/2031616



java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError

at com.limegroup.gnutella.gui.GUIMediator.getStringRe source(GUIMediator.java:739)

at com.limegroup.gnutella.gui.GUIMediator.<clinit>(GU IMediator.java:205)

at com.limegroup.gnutella.gui.Initializer.initialize( Initializer.java:177)

at com.limegroup.gnutella.gui.Main.main(Main.java:17)

at java.lang.reflect.Method.invoke(Native Method)

at RunLime.main(RunLime.java:77)

Taliban April 10th, 2002 02:03 AM

Reinstall LimeWire. CommonUtils is in the LimeWire.jar file, - if it isn't found although other classes (like the GUIMediator) are found, the jar files seems to be corrupted.

Another problem could be, that your MessagesBundle.properties file has been deleted or corrupted by accident.

shorebreak April 10th, 2002 01:12 PM

to make a long story short....
 
the buildCoreJar is usefull but I can't run it without the core folder but that doesn't matter too much.

Make a Copy of your Gui folder to another directory.

now go to your copy folder and go on 'search' (toolbar of win-explorer).
search for 'CVS'
a lot of folders should show up... delete all of them
search for '*.java'
delete all java files.

now goto 'folders' (explorer toolbar)
then goto your copy folder and select the folder 'native' - delete it.
goto the lib folder and delete the following files (those make the zip files so big)
sound.jar
ui.jar
QTJava.zip

goto the bin folder and delete:
LimeWire16d.dll
LimeWire18.dll
LimeWire19.dll

in the main copy folder delete:
All class files begining with RunLime should be 3 files.
build.xml
compile*
run*

that's it.


you can start it with a shortcut like this:

D:\your java\bin\javaw.exe -classpath lib/collections.jar;lib/xerces.jar;lib/jl011.jar;lib;lib/core.jar;RunLime.jar RunLime

run in:
D:\ your limewire folder\


my zips are around 1.8mb you can find them by clicking the WWW button of this post ;o)


mahalo


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