----- Original Message ----- From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
To: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>; "Felice Vittoria" <[EMAIL PROTECTED]>
Cc: "Castro, Edwin Gabriel (Firing Systems Engr.)" <[EMAIL PROTECTED]>; "Gert Driesen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, August 14, 2004 7:13 AM
Subject: Re: [Nant-users] checking nant version



Gert, how about adding a nant-level functionality for that?

<project nantversion="0.85.1123" exactversion="true|false">
...
</project>

Sure, this is something that was discussed before, and we should probably discuss it in (a little) more detail before actually implementing it.


This is ofcourse the best solution for the issue Jeroen brought up, but that other users might still expect the possibility to use relational operations on versions. Meaning: should the following functions return a version data type :

   assembly::get-version(string)
   file::get-file-version(string)
   file::get-product-version(string)

and we could then have the following functions in the version namespace :

   version::get-major(version)
   version::get-minor(version)
   version::get-build(version)
   version::get-revision(version)
   version::to-string(version)
   version::parse(string) or version::from-string(string)

and support the same operators as supported by the System.Version.


About the script task: Make sure you don't have xmlns defined in your <project> element (to support intellisense). Mono seems to have problems with that.

We don't load the <script> task in Mono right now.

Gert



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to