[Anthill-pro] Making the Anthill build number value
availableto Ant build files?
Rémon van Gijn
r.van.gijn at portinfolink.com
Fri Dec 29 02:02:10 CST 2006
What you seem to seek, is native to Ant's JAR task to create a manifest.mf file, and in supplying the data you can work with variables as well.
Anthill supports the anthill vars normaly, so you will be able to use $anthill.version as your buildversion when supplying the manifest contents. (there are more like that)
Read up on this on the http://ant.apache.org/manual/index.html site, and join the ant mail list. (mail to user-subscribe at ant.apache.org )
Rgds, Remon
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Paul Furbacher
Sent: vrijdag 29 december 2006 0:33
To: anthill-pro at caladin.urbancode.com
Subject: Re: [Anthill-pro] Making the Anthill build number value availableto Ant build files?
On Dec 28, 2006, at 6:19 PM, I wrote:
> [...]
> --- defaults.xml ---
> <property name="anthill.version.number" value="@@@anthillvnum@@@" />
> ...
> --- end defaults.xml ---
>
> Anthill would do a replace of @@@anthillvnum@@@ with the current
> build number
> prior to kicking off the main Ant build.xml target.
Actually, I was potentially confusing AnthillPro version number
(e.g., AnthillPro v 3)
with an incrementing *build* number, as in 1.1.191. It is the
*build* number I
am looking to stick into a property which the Ant build targets can
use, so that
a manifest.mf file might read:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
anthill.build.number: 1.1.191
....
Thanks.
Paul Furbacher
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list