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>
<antcall target="svn-info">
<param name="file" value="c:/mysource2/build.xml"/>
</antcall>
<antcall target="svn-info">
<param name="file" value="c:/mysource3/build.xml"/>
</antcall>
</target>
<target name="svn-info">
<svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
<info target="${file}"/>
</svn>
<echo message="revision is: ${svn.info.rev}"/>
</target>
Thanks for reading!!!
Fu-Tung
> 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