[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] SVN Ant Task - Retriving revision number matching head

From: Jo Support <jo.support_at_gmail.com>
Date: Thu, 4 Sep 2008 17:18:45 +0200

thanks a lot!

On Thu, Sep 4, 2008 at 9:41 AM, saimen54 <saimen54_at_hotmail.com> wrote:
>
> Hi,
>
>
> Jo Support wrote:
>>
>> is there a way checking out head by SVN ant task to retrive the
>> revision number info that matches the head?
>> maybe putting it into an ant property in order to re-use it during the
>> script.
>>
>
> Define task:
> <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
> <classpath>
> <fileset dir="./libs">
> <include name="svnant.jar" />
> <include name="svnClientAdapter.jar" />
> <include name="svnjavahl.jar" />
> <include name="javasvn.jar" />
> </fileset>
> </classpath>
> </taskdef>
>
> javasvn.jar is the old name of svnkit.jar, but I don't think it's necessary
> anyway.
>
> The you have to define ${svn.info.lastRev}:
> <svn javahl="true">
> <info target="." />
> </svn>
> <property name="latestRevisionNo" value="${svn.info.lastRev}"/>
>
>
> HTH,
> Simon
>
>
>
> --
> View this message in context: http://www.nabble.com/SVN-Ant-Task---Retriving-revision-number-matching-head-tp19304668p19305100.html
> Sent from the subclipse - users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: users-help_at_subclipse.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-09-04 17:19:03 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.