This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes How to get latest revision number via Ant? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to get latest revision number via Ant?" Watch "How to get latest revision number via Ant?" New topic
Author

How to get latest revision number via Ant?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey,
How to get/include the latest revision number of Subversion in the index page when creating the application?
Thanks.
Manish Doomra
Greenhorn

Joined: Sep 05, 2008
Posts: 21
Originally posted by John Todd:
Hey,
How to get/include the latest revision number of Subversion in the index page when creating the application?
Thanks.


hello John,

Your problem can be solved using this simple utility.
I have not used it but after reading its description, i am sure it will be worth using it for your requirement.
SvnTask

Let us know if it was worthwhile.

if you don't want to use any utility and try it by your hand than read the documentation here:- wcVersion
[ December 16, 2008: Message edited by: Manish Doomra ]

Manish Doomra
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get latest revision number via Ant?