The template.properties file contains template and namespace information.
Template information
- Name - the template ID, which is also the Subversion directory name for the template.
- Title - the template title displayed on the project creation page.
- Description - the template description displayed on the project creation page.
- Type - "project" or "ALM".
- Active - "true" or "false"; displays "true" if the template is available when starting a new project.
- Valid - "yes" or "no".
A project template of type "project" is valid if it meets the following conditions:
- it is active
- it has "issueTracker" or "projectTracker" as its "artifactTracking" property value
- it has "svn" or "cvs" as its "versionControl" property value
A project template of type "ALM" is valid if it meets the following conditions:
- it is active
- it has "svn" as its versionControl property value
- it has "projectTracker" as its "artifactTracking" property value
- Artifact tracking component - "issueTracker" or "projectTracker".
- Version control component - "cvs" or "svn".
- Optional artifact type prefix list - list of the optional prefixes for artifact types; for example, in the CollabNet Baseline Project template, this could display CNALM-v1.1:, CNALM-TD-v1.1:.
- Artifact type list - list of all the artifact types associated with the template.
- Global query list - list of global queries defined at the domain level.
- Ignore list - list of files in the templates folder that are excluded from being published at the time of project creation.
- Version - version number of the template.
Project attribute information
The following properites control the display of the Project pages and Project tools links in projects created using this template:
- enableProjectPagesLinks - enables or disables the Project pages navigation toolbar; can be "Y" (for yes) or "N" (for no).
- enableProjectToolsLinks - enables or disables the Project tools navigation toolbar; can be "Y" (for yes) or "N" (for no).
Note: The values defined here override the default values for these attributes in a project that uses this template.
Namespace information
On importing a project template archive, a namespace is created in the target site with these values:
- Namespace title
- Namespace URI