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

Re: [Subclipse-users] Url@revision syntax not working

From: Puneet Lakhina <puneet.lakhina_at_gmail.com>
Date: 2007-04-26 06:44:43 CEST

On 4/24/07, Mark Phippard <markphip@gmail.com> wrote:
>
> Try adding a slash to the end of the URL.

Tried, still the same problem. :-(
With the following build file
<?xml version="1.0" encoding="UTF-8"?>
<project default="myTarget">
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask
"></taskdef>
<target name="myTarget">
     <svn>
    <checkout url="svn://10.0.52.139/" destPath="C:/ant_svn_test"/>
    </svn>
</target>
</project>

I again get the following error
Buildfile: build.xml

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

BUILD FAILED
C:\Documents and Settings\puneet\My Documents\ant
experimentation\build.xml:6:
Can't checkout

Total time: 14 seconds

Hasnt anyone else faced a similar problem with svn on windows XP or on
anyother platform??

Mark
>
>
> On 4/24/07, Puneet Lakhina <puneet.lakhina@gmail.com> wrote:
> > Hi,
> > 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
> > "></taskdef>
> > <target name="myTarget">
> > <svn>
> > <checkout url="svn://10.0.52.139:3690" destPath="C:/ant_svn_test"/>
> > </svn>
> > </target>
> > </project>
> >
> > When i try and build this file i get the following result
> > --start result--
> > Buildfile: build.xml
> >
> > myTarget:
> > [svn] Using command line interface
> > Svn : Checking out a working copy from a repository :
> > co -r HEAD svn://10.0.52.139@HEAD C:\ant_svn_test --non-interactive
> > svn: Unknown hostname 'HEAD'
> >
> > BUILD FAILED
> > C:\Documents and Settings\puneet\My Documents\ant
> > experimentation\build.xml:6:
> > 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://10.0.52.139 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.
> >
> > Thanks
> > --
> > Puneet
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

-- 
Puneet
Received on Thu Apr 26 06:44:51 2007

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