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

[Subclipse-users] Using SVN Ant with multi-project repositories

From: Andrew R Feller <afelle1_at_lsu.edu>
Date: 2007-01-02 22:29:14 CET

Hey everybody,

I am trying to do a checkout of a project within a SVN repository from
my ant script using SVN Ant, however SVN does not handle the @HEAD
tacked onto the end of the destPath. Here is my repository layout, the
ant task, and the command being issued:



Ant Task:

<svn username="username" password="password">
        <checkout url="${path_app}" destPath="${temp_dir}/app" />

<property name="path_app"
value="https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk" />


[svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk@HEAD
/home/afelle1/test/.ant/app --username afelle1 --password *******
svn: URL 'https://svn.its.lsu.edu/svn/meeting_scheduler/app/trunk@HEAD'
doesn't exist

After copying the line and removing the @HEAD, svn was able to checkout
the proper directory of the repository. I reviewed the SVN Ant
documentation and found no stipulations on the repository layout.
Shouldn't setting the revision argument be enough?


Andrew R Feller, Analyst
University Information Systems
Louisiana State University
(office) 225.578.3737

To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jan 2 22:31:09 2007

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