This page last changed on Dec 12, 2009 by csut017.

File Labeller

The File Labeller is used to generate labels based on the content of a disk file. The labeller is configured with the location of the file, and it reads the file content to generate the label for CCNet. The file is read just before the first pre-build task is executed.

Version

Available from version 1.3

Examples

<labeller type="fileLabeller">
  <labelFilePath>xxx</labelFilePath>
  <prefix>Foo-</prefix>
  <allowDuplicateSubsequentLabels>true</allowDuplicateSubsequentLabels>
</labeller>

Configuration Elements

Element Description Type Required Default Version
allowDuplicateSubsequentLabels Controls whether duplicate labels are permitted or not. If true, duplicate labels are left intact. If false, the label will be suffixed with "-n", where "n" is incremented for each successive duplication. Defaults to "true" Boolean No true 1.3
dynamicValues The dynamic values to use for the labeller. Dynamic Values array No None 1.5
labelFilePath The pathname of the file to read. This can be the absolute path or one relative to the project's working directory. String Yes n/a 1.3
prefix Any string to be put in front of all labels. String No None 1.3
Automatically Generated

Documentation generated on Saturday, 12 Dec 2009 at 8:12:19 AM

Document generated by Confluence on Jan 23, 2011 08:52