2. Application description

Right-click on the content folder and create a new file called application.xml.

Note

This file must not have any other name as Projector will lookup the file by this name and will fail to launch your application if you give it a different name.

You can also copy the description file from any other Projector application as a template. However this is how the description file should look like finally:

<application>
   <vendor>MyCompany (C) 2004</vendor>
   <author>Me, myself and I</author>
   <name>MyProject</name>
   <version>1.0</version>
   <display-name>My application</display-name>
   <description>This is my first Projector application</description>
   <dependencies>
      <requires application="core" version="1.x" /> 1
   </dependencies>
   <content>
      <processors uri="config/processors.xml" /> 2
   </content>
</application>
1

The dependencies tag can contain one or more tags that indicate on which applications our application depends. If we want to use any parts as processors or templates of another application we need to declare this dependancy at this point. Projector assures that these applications will be loaded and will be available before our application gets started. Optionally you can specify which version of the needed application is required.

2

The content tag contains references to all files that should be loaded on startup. As we want to keep our example as simple as possible, we start by just using a single file that contains the processors used by our application. Note that the uri is relative to the root folder of our application.

Don’t hesitate to replace the content of the descriptive tags with some text of your choice.