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

svn-ant how to get latest revision?

From: Fu-Tung Cheng <futung.cheng_at_yahoo.com>
Date: Tue, 9 Sep 2008 23:54:43 -0700 (PDT)

Hi,

I am trying to figure out which command I can use from svn-ant that will get me the highest revision from the repository.

I've tried svn-info but both the rev and lastRev properties return the working copies revision number.

I've also tried the wcVersion task but again that just tells you the working copies last revision.

In order for me to get the information it appears I need to update my working copy to the latest and then call one of these targets. Shouldn't there be a way using svn-ant to just get the latest version?

Does no one automate tasks using ant and svn? The svn-ant tasks seem somewhat less mature than I would have expected.

If I was using maven to do my building would I find better support?

Thank you,

Fu-Tung

      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-10 08:55:12 CEST

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

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