[Anthill] parsing the env.version property
GLeavitt at unicacorp.com
GLeavitt at unicacorp.com
Wed Mar 10 14:00:44 CST 2004
I need to do a replace on various fields in the source when the build no
changes. The env.version value passed from anthill into
my build script looks like:
[echoproperties] version=5.0.4.009Alpha
so i need to set two properties in my build script oldbuild.no, and
newbuild.no so that i can do the following;(I know it's not elagant but I
can't get the development team to tokenize these values yet.):
<replace dir="${basedir}/Shannon/ImpactC"
summary="true"
includes="UACFlowChart.rc"
token="5.1.0.${oldbuild.no}\0"
value="5.1.0.${newbuild.no}\0">
</replace>
Since Anthill already keeps track and updates the buildno field in the
version file is there a way i can call the same class(es) from within the
build script to parse out the numeric value in the version env var and
increment it?
Thanks - Glen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20040310/1989fee7/attachment-0004.htm
More information about the Anthill
mailing list