Hi hmm, good point
there seems to be a 'mis interpretation' in the code towards the docs needs to be investigated. Keeping you posted ... with kind regards Ruben Willems On Mon, Aug 17, 2009 at 10:14 AM, Michael <[email protected]> wrote: > > Ruben > Thanks for the response. But, the documentation says: > > "If true, , a label which matches the immediately previous label will > be generated as is. Otherwise it will have a version number appended" > > I do want a version number appended (to prevent duplicate labels), so > wouldn't I set the value to FALSE (according to my interpretation of > the documentation)? > > thanks > Michael > > On Aug 14, 10:38 pm, 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 > > > > >
