| Copyright 2009 Castle Technology Ltd | | Licensed under the Apache License, Version 2.0 (the "License"); | you may not use this file except in compliance with the License. | You may obtain a copy of the License at | | http://www.apache.org/licenses/LICENSE-2.0 | | Unless required by applicable law or agreed to in writing, software | distributed under the License is distributed on an "AS IS" BASIS, | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | See the License for the specific language governing permissions and | limitations under the License. | | If there is no ROM image (e.g. the build failed), exit here IfThere .Images. Then Else Obey | If SparkFS isn't running, we're going to have problems so generate error RMEnsure SparkFS 0.00 Error ABRelease: release_autobuild: requires SparkFS to be present RMEnsure Zip 0.00 Error ABRelease: release_autobuild: requires the SparkFS Zip module to be present | Remove any old template zip archive from our resources directory Remove .zip | Copy the central template zip archive into our resources directory Do Copy ab_res:zip .zip ~cfr~v Run ab_res:NullEvent | Open the archive so we can copy into it Do Filer_Run .zip Run ab_res:NullEvent | Copy a ReadMe file into the zip archive Copy ab_res:ReadMe/txt .zip.ReadMe/txt ~cfr~v | Copy the ROM image into the zip archive Copy .Images. .zip. ~cfr~v Run ab_res:NullEvent | Close the archive (filer window) Do Filer_CloseDir .zip Run ab_res:NullEvent | Delete any pre-existing zip archive on the autobuild server Remove | Copy the template zip archive onto the autobuild server Copy .zip ~cfr~v | Remove the template zip archive from our resources directory Remove .zip