#!/bin/sh

echo "Resetting i-jetty-3.1 back to its original state"

echo "+ Deleting i-jetty-3.1"
rm -rf i-jetty-3.1

echo "+ Untarring src code"
tar xvzf i-jetty-3.1-src.tgz

echo "+ Fixing pom.xml file"
cp FIXES/i-jetty-3.1/i-jetty-ui/pom.xml  i-jetty-3.1/i-jetty-ui/pom.xml

echo "+ Creating assets folder for pre-bundled Greenstone3 war file"
mkdir i-jetty-3.1/i-jetty-ui/assets

echo 
echo "***"
echo "* Now run ./CUSTOMIZATION.sh"
echo "***"
echo
