BTW. Why is this property dynamic anyway? Doesn't it cause problems with
nightly builds spanning midnight ?

Jarek
----- Original Message ----- 
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: "NAnt Developers" <[EMAIL PROTECTED]>
Cc: "Gert Driesen" <[EMAIL PROTECTED]>; "Ian MacLean"
<[EMAIL PROTECTED]>
Sent: Friday, March 12, 2004 11:17 PM
Subject: [nant-dev] NAnt.build


> Ian, Gert,
>
> I think you should modify the build.number property
> in NAnt.build like this in order to avoid negative
> build numbers:
>
> <property name="build.number"
>   value="${math::abs(math::floor(timespan::get-total-days
>   (datetime::now() - convert::to-datetime('01/01/2000'))))}"
>   dynamic="true" />
>
> j3d.
>
> -- 
> ----------------------------------------
> Giuseppe Greco
>
> ::agamura::
>
> phone:  +41 91 604 67 65
> mobile: +41 76 390 60 32
> email:  [EMAIL PROTECTED]
> web:    www.agamura.com
> ----------------------------------------
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to