blob: 3d5cef770e92c19d18b13d9c290a92222d7fe226 [file] [log] [blame]
# script to run update, setting properties, for all projects
source properties.shsource
source parseSiteArg.shsource
if [ "${2}" == "-clean" ] ; then
echo " Removing ${testUpdateSite}/features/"
rm -fr ${testUpdateSite}/features/
echo " Removing ${testUpdateSite}/plugins/"
rm -fr ${testUpdateSite}/plugins/
echo " Removing index and site xml files"
rm -fr ${testUpdateSite}/*
echo " Updating index and web site files, but not site xml files (yet)"
rsync -pua ${HOME}/${updateToolsDir}/WebContent/${mainIndexFileName} ${testUpdateSite}/index.html
rsync -pua ${HOME}/${updateToolsDir}/WebContent/*.jpg ${testUpdateSite}
./ "${1}"
./ -f ${fileListFile} -Declipse.home=${eclipseLocation}${testUpdateSite}
echo " merge authored site.xml files with the most recent auto generated one"
./ ${mainSiteFileName} ${testUpdateSite}
# do create pack's later ... takes a long time
# ./ -f createPack200s.xml -Declipse.home=${eclipseLocation}${testUpdateSite}
# run create Digests now, it's a good check if all is well
./ -f createDigests.xml -Declipse.home=${eclipseLocation}${testUpdateSite}
# create P2 repository metadata
./ -f createP2Repo.xml -Declipse.home=${eclipseLocation}${testUpdateSite}