[Logo] VUE Users Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Login] Login 
If this is your first visit to the new VUE forums, you can login using the same username and password you currently use on VUE's website. If you need an account, please create one through VUE's website. If you have problems, please contact us via the contact form on http://vue.tufts.edu
Downloading and Compiling VUE 1.4.2  XML
Forum Index » General Discussion
Author Message
Charles Severance


Joined: 08/08/2008 11:36:13
Messages: 2
Offline

I have successfully downloaded and compiled VUE 1.4.2 on my Mac OS/X system. It was pretty easy - I now have a little shell script that Does the work.

It assumes that you only have Java - it uses curl to download the source. If you are on some other system than a mac (sorry about that), you can look through and likely figure out the steps.

And yes it uses C-Shell.

I use it from my ~/dev directory.
Charles Severance


Joined: 08/08/2008 11:36:13
Messages: 2
Offline

#!/bin/csh

# Chuck Severance's VUE bootstrap script - Only tested on a Mac OS/X

# To run this type

# cd ~/dev
# csh vue-bootstrap.csh

set MYPATH=`pwd`

# Download VUE source using curl if necessary

if ( -d keepzips ) then
echo keepzips directory exists...
else
echo Creating keepzips directory ...
mkdir keepzips
endif

if ( -f keepzips/VUE_1_4_0_src.zip ) then
echo keepzips/VUE_1_4_0_src.zip exists...
else
echo Downloading keepzips/VUE_1_4_0_src.zip ...
cd keepzips
curl -O http://easynews.dl.sourceforge.net/sourceforge/tuftsvue/VUE_1_4_0_src.zip
cd $MYPATH
endif

# clean up the directory and save current contents

/bin/rm -rf VUE-reallyold
if ( -d VUE ) then
mv VUE-old VUE-reallyold
echo Removing old version in the background
/bin/rm -rf VUE-reallyold &
mv VUE VUE-old
endif

mkdir VUE
mkdir VUE/lib
mkdir VUE/VUE_1_4_0_src
cd VUE/VUE_1_4_0_src
unzip $MYPATH/keepzips/VUE_1_4_0_src.zip

echo Moving jars from the checkout directory to the lib directory
mv *.jar ../lib

# comppile and run VUE
ant compile
ant
 
Forum Index » General Discussion
Go to:   
Powered by JForum 2.1.8 © JForum Team