blob: 567db7dfa4d06eea9771fc50d02e870d740d1d54 [file] [log] [blame]
#!/bin/sh
# 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=$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
# merges newFeautes in to authored, back in original locaion
java -jar siteFileUpdater.jar $in_authored $in_newFeatures
#copy to discovery site
cp $in_authored ~/downloads/webtools/milestones/$main_name