automating some update scripts
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/cleanMirror.sh b/org.eclipse.wtp.releng.webupdatesite/build-home/cleanMirror.sh
deleted file mode 100644
index 3224b3b..0000000
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/cleanMirror.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-
-dropName=$1
-
-if [ "$dropName" != "" ]
-then
-
-eclipseLocation=$HOME/eclipse-ppc-rc7
-
-# from declared directory
-updateSite=file://$HOME/downloads/webtools/committers/drops/$1/updateSite
-# to
-localUpdateSitePath=$HOME/downloads/webtools/testUpdates
-
-ant -f mirrorMilestones.xml -DeclipseLocation=$eclipseLocation -DupdateSite=$updateSite -DlocalUpdateSitePath=$localUpdateSitePath
-
-# merge authored site.xml files with the most recent auto generated one
-# $HOME/org.eclipse.callisto.tools/build-home/runUpdateSiteXmlFiles.sh
-
-ant -f createPack200s.xml -Declipse.home=$eclipseLocation -DupdateSite=$localUpdateSitePath
-ant -f createDigests.xml -Declipse.home=$eclipseLocation -DupdateSite=$localUpdateSitePath
-
-
-else
- echo " Usage: $0 <dropName> (where dropName is, for example, 200606231530)"
-
-fi
-
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/getUpdateToolsFromCVS.sh b/org.eclipse.wtp.releng.webupdatesite/build-home/getUpdateToolsFromCVS.sh
index 299e9df..df18c7c 100644
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/getUpdateToolsFromCVS.sh
+++ b/org.eclipse.wtp.releng.webupdatesite/build-home/getUpdateToolsFromCVS.sh
@@ -1,9 +1,8 @@
# This script should be "copied up" and ran from a
# directory "above" the main working directories of
-# org.eclipse.callisto.updatesite, and
-# org.eclipse.callisto.tools
-# this is typically the users $HOME directory
+# $updateToolsDir.
+# This is typically the users $HOME directory
updateToolsDir=org.eclipse.wtp.releng.webupdatesite
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/indexer.xml b/org.eclipse.wtp.releng.webupdatesite/build-home/indexer.xml
deleted file mode 100644
index 9de9484..0000000
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/indexer.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="index" default="index" basedir=".">
-
- <!--
- OSGi Indexer. See
- http://bundles.osgi.org/bindex.php
- -->
- <target name="init">
- <property file="env.properties" />
- </target>
-
- <target name="index" depends="init">
-
- <echo message="Indexing ${localUpdateSitePath}/plugins/*.jar" />
-
- <java jar="bindex.jar"
- fork="true"
- failonerror="false">
- <arg value="-t" />
- <arg value="http://download.eclipse.org/callisto/releases/plugins/%f " />
- <arg value="-q" />
- <arg value="${localUpdateSitePath}/plugins/*.jar" />
- </java>
- </target>
-</project>
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFile.sh b/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFile.sh
index 65ab9f8..567db7d 100644
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFile.sh
+++ b/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFile.sh
@@ -3,8 +3,9 @@
# script to update site xml files, by merging new features from "mirror" command, with old "authored" content.
main_name=$1
+updateToolsDir=org.eclipse.wtp.releng.webupdatesite
-in_authored=~/org.eclipse.callisto.updatesite/WebContent/$main_name
+in_authored=$HOME/$updateToolsDir/WebContent/$main_name
# remember, this 'site.xml' is just the output of mirror command, when ran in context
in_newFeatures=~/downloads/webtools/milestones/.site.xml
diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFiles.sh b/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFiles.sh
index b51097a..68c11cd 100644
--- a/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFiles.sh
+++ b/org.eclipse.wtp.releng.webupdatesite/build-home/runUpdateSiteXmlFiles.sh
@@ -5,7 +5,7 @@
updateSite=$HOME/downloads/webtools/milestones
-cp $HOME/$updateSite/site.xml ~/downloads/callisto/staging/.site.xml
+cp $HOME/$updateSite/site.xml $HOME/$updateSite/.site.xml
# merge authored site.xml with the autogenerated one