ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Clitheroe <>
Subject Re: Get current module's version in Ant
Date Tue, 09 Mar 2010 19:14:03 GMT

You can use ivy:buildnumber

We are frequently doing releases like 2.0.1-RC2 etc and to switch from an
RC* series to finals we still use a property to be able to override the
build number from the command line.


On Wed, Mar 10, 2010 at 7:18 AM, Alessandro Marino

> I've a project with various modules, the last couple of modules are the war
> artifacts. How can I inject the module's version in the war Ant task ?
> At the moment I'm defining a property in the ivyconfig.xml file and then I
> retrieve it when creating the war, but I'm sure that there's a clener way
> to
> do this.
> Thanks and regards,
> Alessandro

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message