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

[Subclipse-users] URL@REVISION combination is not working

From: Tramnitzke <vadus_at_tfh-berlin.de>
Date: 2007-09-11 13:42:55 CEST

Hi there,

I've installed svn and svnant at my debian server.
However, I can checkout my repository with the command :

 svn co -r HEAD svn://localhost/<repo> . --username <myUser> --password <myPW>
--non-interactive

but with svnant it is not possible. Here is my build script :

<project name="svnant test" default="all" basedir=".">
  <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" />
    <target name="update">
        <svn username="<myUser>" password="<myPW>" >
              <checkout url="svn://localhost/<repo>"
destPath="../latestRevision/" />
        </svn>
    </target>
</project>

To install svnant I just have put svnClientAdapter.jar, svnant.jar and
svnjavahl.jar into my $ANT_HOME/lib folder.

So, when I'm executing the build.xml I get the following error :

Buildfile: build.xml

update:
      [svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD svn://localhost/<repo>@HEAD /home/dev/latestRevision --username
<myUser> --password ******* --non-interactive
svn: URL 'svn://localhost/<repo>@HEAD' doesn't exist

BUILD FAILED
/home/dev/build/build.xml:10: Can't checkout

This leads to my question, why svnant is adding the HEAD information after the
URL even when there is a '-r' parameter ? It seems, that it would work without
that "@HEAD" adding. Is it possible to supress this behaviour ?

Is it the case, because svnant is using the command line interface instead of
javaHL ? If so, how can I install and use javaHL correctly ?

Best Regards,
Danny Tramnitzke

--
Open WebMail Project (http://openwebmail.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Sep 11 13:43:16 2007

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.