portion of the version string
property looks like:
property name=partNumberMajorInt
value=${version::get-major(version::parse(version))} /
echomajor is ${partNumberMajorInt}/echo
Beth
Re: [NAnt-users] parsing version string
Steve Kapinos
Sun, 01 Feb 2009 05:34:49 -0800
property
as variables
or functions. If you wanted to use a string in there, use a quoted string
inside the ()
-Original Message-
From: Beth Hechanova [mailto:bhechan...@imsco-us.com]
Sent: Fri 1/30/2009 8:55 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] parsing version string
Hi
Hi,
I'm trying to parse my version property to get the individual elements
(major, minor, iteration, ...). My end goal is to take the information
in the version in a format of 1.2.3.4 and turn it into a string that
looks like 010203 (takes each of the major, minor, iteration and
pad-lefts to