| 1 |
|
| 2 |
METVIEW_SRC_HOME='/tmp/PERFORCE/metview' |
| 3 |
|
| 4 |
target="$METVIEW_SRC_HOME/src/libMagWrapper" |
| 5 |
files=' |
| 6 |
Coastlines.xml |
| 7 |
CoastPlotting.xml |
| 8 |
GridPlotting.xml |
| 9 |
LabelPlotting.xml |
| 10 |
SuperPage.xml |
| 11 |
Page.xml |
| 12 |
SubPage.xml |
| 13 |
Frame.xml |
| 14 |
Legend.xml |
| 15 |
Title.xml |
| 16 |
TextAction.xml |
| 17 |
TextBox.xml |
| 18 |
CylindricalProjection.xml |
| 19 |
SatelliteProjection.xml |
| 20 |
ConicProjection.xml |
| 21 |
CentreGeoArea.xml |
| 22 |
CornersArea.xml |
| 23 |
PageID.xml |
| 24 |
Grib.xml |
| 25 |
Contour.xml |
| 26 |
IsoPlot.xml |
| 27 |
IsoLabel.xml |
| 28 |
IsoHighlight.xml |
| 29 |
IsoShading.xml |
| 30 |
ValuePlot.xml |
| 31 |
LevelSelection.xml |
| 32 |
LevelListSelectionType.xml |
| 33 |
IntervalSelectionType.xml |
| 34 |
CountSelectionType.xml |
| 35 |
HiLo.xml |
| 36 |
Wind.xml |
| 37 |
HiLoText.xml |
| 38 |
Akima474.xml |
| 39 |
Akima760.xml |
| 40 |
Akima761.xml |
| 41 |
HiLoText.xml |
| 42 |
HiLoTechnique.xml |
| 43 |
HiLoSave.xml |
| 44 |
HiLoNumber.xml |
| 45 |
HiLoMarker.xml |
| 46 |
|
| 47 |
' |
| 48 |
|
| 49 |
for i in $files |
| 50 |
do |
| 51 |
echo "$i" |
| 52 |
perl56 xml2mv.pl ../src/xml/$i >> objects |
| 53 |
|
| 54 |
done |
| 55 |
|
| 56 |
# copy the attributes files.. |
| 57 |
|
| 58 |
for file in `ls wrap/*` |
| 59 |
do |
| 60 |
x=`basename $file` |
| 61 |
|
| 62 |
if ( ! [ -a $target/$x ] ) then |
| 63 |
echo " create " $x |
| 64 |
touch $target/$x |
| 65 |
fi |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
if ! ( `diff $file $target 2>&1 > /dev/null` ) then |
| 70 |
|
| 71 |
echo " update --->" $file |
| 72 |
mv --backup $file $target |
| 73 |
fi |
| 74 |
|
| 75 |
done |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|