Gnutella Forums  

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


View Poll Results: Is it useful?
Look at all the typing I didn't have to do!!! 0 0%
Its okay 1 50.00%
The eyes, they burn!!!!!! AHHHHH @_@ 1 50.00%
Voters: 2. You may not vote on this poll

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 20th, 2004
Novicius
 
Join Date: January 20th, 2004
Location: Fife
Posts: 1
graywind is flying high
Default Unofficial CVS update-compile script for Linux

I wrote a few scripts that I thought might be useful to all the other people out there that use Linux, but are lazy like me, and hate typing all the commands to download from the CVS, and then compile it.

Here are the three files and what they do.

makedirs-limewire.sh

Quote:
#!/bin/sh
#LimeWire CVS build execution script
choice=" "
echo "Only run this once. It is only to create the correct"
echo "directories so the other scripts may run. Default is"
echo "no. Type "yes" completely in order to continue."
echo "(yes/no)"
read choice
if [ $choice = "yes" ]
then
mkdir ~/cvs
mkdir ~/cvs/limewire
else
echo "The directories were not made"
exit
fi
#done
Pretty simple, no? If its not blatantly obvious yet, the whole script was meant to make two folders in your home directory. You can do it on your own, I don't care, but the next two scripts would fail if you didn't make the dirs first.

cvs-update-limewire.sh


Quote:
#!/bin/sh
#LimeWire CVS Syncing & Compilation Script - crafted by graywind(at)badadmin(dot)net
#I don't claim to own anything. Its just a script that I wrote it so you could sit
#back and watch it download, compile, run, and just work. Please don't hurt me.
cd ~/cvs
echo ---- Just hit enter, the password is blank ----
cvs -d :pserver:guest@cvs.limewire.org:/cvs login
cvs -d :pserver:guest@cvs.limewire.org:/cvs checkout limewire
cd ~/cvs/limewire
cvs -d :pserver:guest@cvs.limewire.org:/cvs checkout lib
echo ---- Sync Complete. Now compiling latest cvs trunk... ----
cd ~/cvs/limewire/core
./compile
cd ~/cvs/limewire/gui
./compile
echo ---- Compilation Complete ----
#Optional execution option starts here
choice=" "
echo "Would you like to launch Limewire now? (y/n)"
read choice
if [ $choice = "y" ]
then
cd ~/cvs/limewire/gui
./run
else
echo "--------------- Limewire will not be launched ---------------"
echo "---- Thank you for using the LimeWire CVS Syncing Script ----"
exit
fi
#done
This is where all the cool stuff happens. First, you grab the goods from the CVS and put them in their place. Then you compile it all by executing the scripts that run ant, and afterwards a choice to run it. Another simple script, but look at all the typing you didn't have to do.


launch-limewire.sh

Quote:
#!/bin/sh
#LimeWire CVS build execution script
cd ~/cvs/limewire/gui
./run
It does what it says, and does it well. What can I say? I like shortcuts :p

I put these scripts in a zip instead of a tarball, becase this board doesn't like tarballs, and is now attached to this message. Its all pretty simple.

O' course, make sure you have ant and the latest version of java before doing any of this.

Extract it to your home folder.
Run the scripts from the terminal:
./makedirs-limewire.sh
./cvs-update-limewire.sh
And you are set :D

I don't claim to own anything like the comment in the scripts mentions, and I would actually think it rather awesome if the LimeWire folk thought it was useful at all, and see no reason why the cool LW people would see a need to sue me anyways. ;)

I just hope I didn't do something someone else did already. I do dislike wasting time when I could just be slouchin' :cool:

So what do you guys think? Useful, or waste of time?

Update01: Found something I left out, lib got dropped in a bad place :o
Attached Files
File Type: zip compilethis.zip (1.3 KB, 33 views)

Last edited by graywind; January 20th, 2004 at 05:01 PM.
  #2 (permalink)  
Old January 20th, 2004
Moderator
 
Join Date: May 16th, 2003
Posts: 1,118
trap_jaw4 is flying high
Default

Instead of compiling the core separately you can use this custom build file to compile LimeWire and create a build in one go.
Put in in your GUI directory and run ant. The build file will create/copy all necessary .jar files for running LimeWire in a separate build directory.
Attached Files
File Type: zip build.zip (1.4 KB, 37 views)
 


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
limewire compile cmcnulty General Linux Support 1 January 3rd, 2004 08:53 PM
Another linux install script error Dr-data General Linux Support 2 January 3rd, 2003 10:16 PM
can't compile karlnapf_ger Qtella (Linux/Unix) 1 March 29th, 2002 04:06 PM
Linux shell script error Unregistered General Linux Support 1 January 21st, 2002 03:34 PM
blocking address ranges, setting "force IP" from script, on linux Unregistered New Feature Requests 0 November 3rd, 2001 10:24 AM


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