[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 syntax not working

From: Puneet Lakhina <puneet.lakhina_at_gmail.com>
Date: 2007-04-24 11:36:36 CEST

I have the following basic build file.
<?xml version="1.0" encoding="UTF-8"?>
<project default="myTarget">
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask
<target name="myTarget">
    <checkout url="svn://" destPath="C:/ant_svn_test"/>

When i try and build this file i get the following result
--start result--
Buildfile: build.xml

      [svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD svn:// C:\ant_svn_test --non-interactive
svn: Unknown hostname 'HEAD'

C:\Documents and Settings\puneet\My Documents\ant
Can't checkout

Total time: 13 seconds
--end result----

I tried executing the same command directly from the command line instead of
through the svnant task and i still get the same error. But when i try
something like the following(without the @HEAD syntax)

svn co -r HEAD svn:// from the command line it works properly.

I believe the problem is the url@revision syntax which somehow my shell is
not able to recognize. I am using Windows XP.

I would appreciate any help on the issue.


Received on Tue Apr 24 11:36:43 2007

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