LabelIncrementer
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am trying to label my source repository prior to build the application.
The steps that we have laid out are as follows.
1. bootstrap label.prop file from the starteam repository.
2. pull together all the major.minor.servpack.patch.buildnumb together for
the build label.
3. label the repository with this build label.
4. increment the build number by one.
5. check in the lable.prop file for the project
6. check out code from the label.
My particular issue is with getting CruiseControl to use the build label
that I have assigned to the repository. I am using the following
configuration for the labelincrementer.
<plugin name="labelincrementer"
classname="net.sourceforge.cruisecontrol.labelincrementers.PropertyFileLabelIncrementer"
propertyFile="${build.label.file}" propertyName="daily.version"
preBuildIncrementer="true"/>
It seems that CC doesn't use the value I've set and instead continues to
use the build.* for the build numbering. So, when I reference the ${label}
in the checkoutwithlabel ant task it uses the value that's in ${label}
which is say build.1. Needless to say the checkout doesn't occur since the
repository was labeled with say 4.1.1.0.0001. Can someone point me to an
example or possible tell me if this is even possible?
I appreciate any help or guidance anyone can give! (I've been pulling my
hair out trying to figure this out)
btw...I've downloaded the code and tried to set up a remote debugger but it
doesn't seem to stop on my breakpoints. I wanted to see if the property was
actually being read.
Thanks in advance!
Doug
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user