Don't think there is, there's been some previous requests for this on
the list.
If you have a command-line client installed, you can use this:
<target name="getbuildid_svn" if="getsvnbuildid">
<!-- bump minor build number -->
<exec executable="${svn.bin}/svnversion" spawn="false"
outputproperty="build.id">
<arg value="."/>
</exec>
<echo message="svnver=${build.id}"/>
</target>
-----Original Message-----
From: kevin.slater@pfpc.com [mailto:kevin.slater@pfpc.com]
Sent: 14 November 2005 14:04
To: users@subclipse.tigris.org
Subject: SVNANT: Getting revision number on checkout?
Is it possible to retrieve the revision number of a checkout using one
of
the SVNANT tasks? We'd like to include this information in a build.txt
file
before we publish a new binary (jar,war,ear) after a successful build.
...Kevin
Kevin Slater
PFPC ESS
412 762-1642
The contents of this email are the property of the sender. If it was not
addressed to you, you have no legal right to read it. If you think you
received it in error, please notify the sender. Do not forward or copy
without permission of the sender.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorised. If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may
be unlawful. Please immediately contact the sender if you have received
this message in error.
Received on Tue Nov 15 02:23:55 2005