Application
The application model starts with a description of the Application.
The applications directory can contain one or more directories, each for a different application. It is possible to have more than one application per directory, but usually one project per application works best.
The application directory contains a model directory, with an Application
XML file and one or more ApplicationInstance
XML files.
project
├── conf
├── applications
. └── spaceApp
├── model
. ├── spaceApp-1.0.0.xml
└── instances
└── spaceapp_development.xml
- spaceApp.xml
- spaceapp_development.xml
- expansionSettings.xml
<application name="SpaceApp">
<!-- shortName is used during expansion and should be camelCase -->
<shortName>spaceApp</shortName>
<version>1.0.0</version>
</application>
<applicationInstance name="spaceapp_development">
<!-- we will do more with this later -->
</applicationInstance>
Add an expansion to the expansionSettings.xml
<expansions>
<expansion>
<type component="elements" name="JeeApplication"/>
<target>spaceApp::1.0.0</target> <!-- Application shortName + version -->
<variant>spaceapp_development</variant> <!-- ApplicationInstance name -->
</expansion>
</expansions>