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.


Available from version 1.3


1<labeller type="fileLabeller">
2  <labelFilePath>xxx</labelFilePath>
3  <prefix>Foo-</prefix>
4  <allowDuplicateSubsequentLabels>true</allowDuplicateSubsequentLabels>

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 Monday, 26 May 2014 at 7:18:00 AM