Shapira, Yoav wrote:

Hi,
Ahh, OK, I understand.  Can we make the version in build.xml be
something like 1.0 then, so that no user can confuse it for the latest
build?


Well, the <property name="version" ...> in build.xml also reflects the builded distributions.

For example if the 'dotted=5.5.0.0' the 'version name' would
be 5.5.0-dev and produced release 'jakarta-tomcat-5.5.0-dev'

We can also make something like in
jakarta-tomcat5/build.xml:

<property name"version.major"    value="5" />
<property name"version.minor"    value="5" />
<property name"version.build"    value="0" />
<property name"version.patch"    value="0" />
<property name"version.isdev"    value="1" />

<property name"version.number" value="${version.major}.${version.minor}.${version.build}.${version.patch}" />

<property name"version.name" value="${version.major}.${version.minor}.${version.build}" />


It would be nice if there is a way to add the 'version.patch' to the 'version.name' but only if the patch value difers from '0'. Perhaps even adding '-dev' if isdev is nonzero.


Regards, MT.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to