[Anthill-pro] Making the Anthill build number value available to Ant build files?

Paul Furbacher pfurbacher at mac.com
Fri Dec 29 12:24:54 CST 2006


Eric,

Thanks.

On Dec 28, 2006, at 8:48 PM, Eric Minick wrote:

> I'm noting that you listed AnthillPro v3

Yes, AnthillPro v3

> -Danthill.version.number=${bsh:WorkspaceVersion.get()}

Is this necessary only if I declare a property with the name  
"anthill.version.number"?

 From the other post in this thread, it would appear that there is  
already a property
named "anthill.version" which I can use, as in

<manifest ... >
   <attribute name="build.number" value="${anthill.version}" />
   ...
</manifest>

Is that right?

If so, I would declare the "anthill.version" property at the top of a  
build.xml file
as a stand-in to be overridden in the actual build but which would  
allow me
to do development builds outside of Anthill.

> [...] a common model is to have:
>
> <property name="anthill.version.number" value="dev" />

   <property name="anthill.version" value="dev" />


Thanks for the info.


Paul Furbacher




More information about the Anthill-pro mailing list