30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example Codes<br />

The XML Descriptor File<br />

The XML skeleton script is made up of the following:<br />

name - (Required) The application's name.<br />

summary - The application's short description.<br />

description - The application's long description.<br />

version - (Required) The application's version number.<br />

eula - The EULA file.<br />

Zend Server <strong>Reference</strong> Manual<br />

appdir - (Required) The applications directory. By default, this is the data folder of your<br />

package.<br />

docroot - The alias will point to the directory you specify.<br />

scriptsdir - The directory in which your scripts are located. By default, this is the scripts<br />

folder of your package.<br />

dependencies - The dependencies that must be met (and will be validated) during the<br />

deployment process.<br />

parameters - The parameters for the deployment process. These, along with the values<br />

you define, will appear in the User Parameters dialog during deployment. For more<br />

information see Deploying an Application.<br />

variables - Define environment variables for the deployment scripts.<br />

persistent resources - Any files or directories you do not want removed from the server<br />

after removing or updating the application.<br />

The descriptor file is validated by an XSD file in the server. For an example of the file see The XSD File.<br />

Example:<br />

<br />

<br />

MyApplication<br />

MyApplication short description<br />

MyApplication long description<br />

<br />

RELEASE VERSION<br />

<br />

data/LICENSE.txt<br />

<br />

<br />

scripts<br />

<br />

<br />

171

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!