On 4/26/07, Mark Phippard <markphip@gmail.com> wrote:
>
> On 4/26/07, Puneet Lakhina <puneet.lakhina@gmail.com> wrote:
> >
> >
> > 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??
>
> It is probably not typical to checkout the root of a repository and
> that is what is triggering the problem for you.
dont think thats the problem, I tried the following also
<checkout url="svn://10.0.52.139/WebApp1" destPath="C:/ant_svn_test"/>
so basically the following works:
$> svn co -r HEAD svn://10.0.52.139/WebApp1
but follwoing syntax does not
$> svn co -r HEAD svn://10.0.52.139/WebApp1_at_HEAD
In this case i get an error
svn: URL 'svn://10.0.52.139/AOLWeb1_at_HEAD' doesn't exist
--
> 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 15:03:21 2007