I could find out that setting the prefix to something and allowDuplicateSubsequentLabels to false does not work. I removed the prefix and everything works fine!
On Sat, Aug 15, 2009 at 11:08 AM, Ruben Willems <[email protected]>wrote: > Hi > > > try setting allowDuplicateSubsequentLabels to TRUE > your setup sets it to false > > http://confluence.public.thoughtworks.org/display/CCNET/File+Labeller > > with kind regards > Ruben Willems > >> > On Sun, Aug 9, 2009 at 12:32 AM, Michael <[email protected]> wrote: > >> >> Hi >> I'm trying to use the File Labeller, but I think there is a bug. I'm >> setting allowDuplicateSubsequentLabels = false, but no version number >> is appended to create a unique label. >> >> I'm using CC.Net 1.4.4.83 >> >> Here's my code: >> <labeller type="fileLabeller"> >> <labelFilePath>version-code.txt</labelFilePath> >> <prefix>1.0.</prefix> >> <allowDuplicateSubsequentLabels>false</ >> allowDuplicateSubsequentLabels> >> </labeller> >> >> The resulting CCNetLabel gets built correctly from the "version- >> code.txt" file and the defined prefix - but no version number is >> appended. For example, if the value in the "version-code.txt" file is >> "1234", the CCNetLabel becomes: >> "1.0.1234" >> not, "1.0.1234.1" >> >> So, I get a file exists error anytime I force a build. >> >> Am I missing a parameter to tell CC.Net to append the version number? >> >> thanks >> Michael >> > > -- santhosh janardhanan chennai "Before you print this mail, think about the environment"
