Skip to content
Snippets Groups Projects
Commit a5e793db authored by david_williams's avatar david_williams
Browse files

small improvements

parent 28e61e5c
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<project name="update" default="update">
<target name="update">
<echo message="-------- Project: WTP-Enabling Responsible: david_williams" />
<property name="updateSite"
value="file://${user.home}/downloads/webtools/downloads/drops/R2.0/S-2.0M4-200701050358/updateSite" />
<echo message=" pulling update jars from ${updateSite}" />
<ant antfile="updateMirrorProject.xml">
<property name="featureId"
value="org.apache.commons_logging.feature" />
<property name="version"
value="1.0.4.v200612131455--0842282_233879" />
</ant>
<ant antfile="updateMirrorProject.xml">
<property name="featureId"
value="org.apache.jakarta_log4j.feature" />
<property name="version"
value="1.2.8.v200605300321--0842282939426_" />
</ant>
<ant antfile="updateMirrorProject.xml">
<property name="featureId"
value="org.apache.xerces.feature" />
<property name="version"
value="2.8.0.v200605151647--08422834353637" />
</ant>
</target>
</project>
#!/bin/sh
# script to run update, setting properties, for all projects
updateToolsDir=org.eclipse.wtp.releng.webupdatesite
updateSite=${HOME}/downloads/webtools/testEnablingFeatures
eclipseLocation=${HOME}/eclipse-ppc-33M5
mainSiteFileName=siteEnabling.xml
if [ "${1}" == "-clean" ] ; then
echo " Removing ${updateSite}/features/"
rm -fr ${updateSite}/features/
echo " Removing ${updateSite}/plugins/"
rm -fr ${updateSite}/plugins/
echo " Removing index and site xml files"
rm -fr ${updateSite}/*
echo " Updating index and web site files, but not site xml files (yet)"
rsync -v -p ${HOME}/${updateToolsDir}/WebContent/index.html ${updateSite}
rsync -v -p ${HOME}/${updateToolsDir}/WebContent/*.jpg ${updateSite}
fi
ant -f updateEnablingMirrorAll.xml -DeclipseLocation=${eclipseLocation} -DlocalUpdateSitePath=${updateSite}
# merge authored site.xml files with the most recent auto generated one
./runUpdateSiteXmlFiles.sh ${mainSiteFileName} ${updateSite}
# do create pack's later ... takes a long time
# ant -f createPack200s.xml -Declipse.home=${eclipseLocation} -DupdateSite=${updateSite}
ant -f createDigests.xml -Declipse.home=${eclipseLocation} -DupdateSite=${updateSite} -DmainSiteFileName=${mainSiteFileName}
<?xml version="1.0" encoding="UTF-8"?>
<project name="updatesite" default="all" basedir=".">
<target name="all">
<ant antfile="features-wtp-enabling.xml" />
<!-- make sure all can "read" (important for quicker http access, esp. when Eclipse.org overloaded) -->
<chmod verbose="true" perm="o+rx" type="both">
<fileset dir="${localUpdateSitePath}" />
</chmod>
<!-- needs work .. indexer doesn't work well from this ant script (needs paths fixed up)
<ant antfile="indexer.xml">
<property name="pluginJarPath"
location="${localUpdateSitePath}" />
</ant>
-->
</target>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment