Hi

for the moment there is no such way
but  that major version property can it be derived from CCNetLabel?

suppose CCNetLabel is DailyBuild 2.4.5.6

is your major label maybe something like 2.4  ?
if so, you could use some scripting in Nant to calculate it



with kind regards
Ruben Willems

On Wed, Apr 8, 2009 at 8:35 PM, Snozz <[email protected]> wrote:

>
> Is there a way to have CCNet pass additional properties to my nant
> scripts, beyond these defaults?
>
>
> http://confluence.public.thoughtworks.org/display/CC/Properties+Passed+To+The+Builders
>
> In my nant scripts I want to have a major version property that is a
> two part version number.  I can't use CCNetLabel for this because I
> want my CCNetLabel to be a four part version number, and sometimes
> with a suffix.
>
> I could just declare the property directly in my nant scripts, but
> then I'd have two places where it'd need to be edited, because it's
> also getting declared as a prefix for the label in the ccnet config.
> The developers who will maintain this will surely forget that it has
> to be changed in two places.
>
> Thanks.

Reply via email to