1*537f9df8SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*537f9df8SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*537f9df8SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*537f9df8SAndrew Rist * distributed with this work for additional information 6*537f9df8SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*537f9df8SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*537f9df8SAndrew Rist * "License"); you may not use this file except in compliance 9*537f9df8SAndrew Rist * with the License. You may obtain a copy of the License at 10*537f9df8SAndrew Rist * 11*537f9df8SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*537f9df8SAndrew Rist * 13*537f9df8SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*537f9df8SAndrew Rist * software distributed under the License is distributed on an 15*537f9df8SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*537f9df8SAndrew Rist * KIND, either express or implied. See the License for the 17*537f9df8SAndrew Rist * specific language governing permissions and limitations 18*537f9df8SAndrew Rist * under the License. 19*537f9df8SAndrew Rist * 20*537f9df8SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir 23cdf0e10cSrcweirThe extensions in the subdirectories of the update folder are used for 24cdf0e10cSrcweirtesting the online update feature of extensions. The folder such as 25cdf0e10cSrcweirsimple, 26cdf0e10cSrcweirlicense, 27cdf0e10cSrcweirdefect, etc. contain extensions which can be installed in OOo. The 28cdf0e10cSrcweircorresponding update information file and the update are located on 29cdf0e10cSrcweirthe extensions.openoffice.org website (cvs: extensions/www/testarea). For example: 30cdf0e10cSrcweir 31cdf0e10cSrcweirdesktop/test/deployment/update/simple/plain1.oxt 32cdf0e10cSrcweir 33cdf0e10cSrcweiris version 1 of this extension and it references 34cdf0e10cSrcweir 35cdf0e10cSrcweirhttp://extensions.openoffice.org/testarea/desktop/simple/update/plain1.update.xml 36cdf0e10cSrcweir 37cdf0e10cSrcweirwhich in turn references version 2 at 38cdf0e10cSrcweir 39cdf0e10cSrcweirhttp://extensions.openoffice.org/testarea/desktop/simple/update/plain1.oxt 40cdf0e10cSrcweir 41cdf0e10cSrcweir 42cdf0e10cSrcweirTo have all in one place the update information file and the update are also contained 43cdf0e10cSrcweirin the desktop project. They are in the update subfolder of the different test folders. 44cdf0e10cSrcweirFor example 45cdf0e10cSrcweir 46cdf0e10cSrcweir.../update/simple/update 47cdf0e10cSrcweir.../update/license/update 48cdf0e10cSrcweir.../update/updatefeed/udpate 49cdf0e10cSrcweir 50cdf0e10cSrcweir 51cdf0e10cSrcweirThe different test folders for the update are also commited in project extensions/www 52cdf0e10cSrcweirso that the files can be obtain via an URL. The structure and the contents is about the 53cdf0e10cSrcweirsame as the content 54cdf0e10cSrcweirof desktop/test/deployment/udpate 55cdf0e10cSrcweirFor example in 56cdf0e10cSrcweir 57cdf0e10cSrcweirextensions/www/testarea/desktop 58cdf0e10cSrcweir 59cdf0e10cSrcweirare the subfolder defect, simple, updatefeed, wrong_url, etc. 60cdf0e10cSrcweirthey contain the extensions which are installed directly by the Extension Manager. 61cdf0e10cSrcweirThese folders contain also the update subfolder which contains the update information 62cdf0e10cSrcweirand the actual updates. 63