| #!/bin/sh |
| |
| # script to update site xml files, by merging new features from "mirror" command, with old "authored" content. |
| |
| main_name=$1 |
| |
| in_authored=~/europa/org.eclipse.europa.updatesite/WebContent/$main_name |
| # remember, this 'site.xml' is just the output of mirror command, when ran in context |
| in_newFeatures=~/europa/staging/.site.xml |
| |
| # merges newFeautes in to authored, back in original locaion |
| java -jar siteFileUpdater.jar $in_authored $in_newFeatures |
| |
| #copy to discover site |
| cp $in_authored ~/europa/staging/$main_name |
| |
| |