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

Re: [Subclipse-users] svnant info issue on upgrade from 1.1.0 RC2 to 1.2.0 RC1

From: Fu-Tung Cheng <futung.cheng_at_yahoo.com>
Date: Wed, 27 Aug 2008 10:38:46 -0700 (PDT)

Here is some more info on my ant structure.

If I swap the order in which the info calls are made then the first one is always the one that works.

My ant targets look something like this:

<target name="all-svn">
  <antcall target="svn-info">
     <param name="file" value="c:/mysource1/build.xml"/>
  <antcall target="svn-info">
     <param name="file" value="c:/mysource2/build.xml"/>
  <antcall target="svn-info">
     <param name="file" value="c:/mysource3/build.xml"/>

<target name="svn-info">
<svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
<info target="${file}"/>
<echo message="revision is: ${svn.info.rev}"/>

Thanks for reading!!!


> Ok it looks like installing the collabnet client fixed the
> initial issue. The info command now works singularly.
> Unfortunately I call the info command a few times in a row
> within one ant task and it seems the 2nd call will always
> fail. This ant code worked with 110rc2 so I have to assume
> that something in the new svnant 120rc1 doesn't properly
> re-initialize in the event that you can info many times in a
> row.
> I get the exact same error - "Not a versioned
> resource" but it does report that it is trying the info
> command on the correct file.
> Any ideas there? Getting closer!!!
> Fu-Tung


To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-08-27 19:38:56 CEST

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