You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stef Kuypers <st...@improdynamics.com> on 2009/08/11 13:05:04 UTC

Problems getting subclipse to work on mac os x with subclipse

Hi there,

I've installed the openCollabNet binary package of subversion for mac  
os x, I installed the latest version of Eclipse (3.5) and subclipse  
(1.6.4), I am running the svnserve application as a standalone daemon  
and I used the svnadmin command line tool to make a repository  
(although I thought this should be possible using subclipse).

I still don't manage to create a new repository location in subclipse.  
I keep getting connection refused and no repository found errors.

I've been scouting the internet for a solution but to no avail. Is  
there someone who can give me a solution to this problem?

I only want to set up a single user local subversion repository .

Kind regards,
Stef Kuypers

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2382465

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Problems getting subclipse to work on mac os x with subclipse

Posted by Stef Kuypers <st...@improdynamics.com>.
Hi there,

I managed to solve the problem by using the Apache server instead of  
the svnserve. There was just more information to be found on that  
topic so I decided to go that route.

Thanks for the help along the way.

Cheers,
Stef

On 13-Aug-09, at 08:16, Ryan Schmidt wrote:

> On Aug 12, 2009, at 06:21, Stef Kuypers wrote:
>
>> On 11-Aug-09, at 22:21, Ryan Schmidt wrote:
>>
>>> On Aug 11, 2009, at 08:05, Stef Kuypers wrote:
>>>
>>>> I've installed the openCollabNet binary package of subversion for  
>>>> mac
>>>> os x, I installed the latest version of Eclipse (3.5) and subclipse
>>>> (1.6.4), I am running the svnserve application as a standalone  
>>>> daemon
>>>> and I used the svnadmin command line tool to make a repository
>>>> (although I thought this should be possible using subclipse).
>>>>
>>>> I still don't manage to create a new repository location in  
>>>> subclipse.
>>>> I keep getting connection refused and no repository found errors.
>>>>
>>>> I've been scouting the internet for a solution but to no avail. Is
>>>> there someone who can give me a solution to this problem?
>>>>
>>>> I only want to set up a single user local subversion repository .
>>>
>>> You'll need to supply more detail. What version of Mac OS X? Where  
>>> on disk is the repository -- what was the path you passed to  
>>> svnadmin create? How are you running svnserve -- with what -r  
>>> parameter, if any? What URL are you trying to check out from? What  
>>> error message exactly did you get? Have you tried enabling logging  
>>> in svnserve, and if so what does the log say?
>>
>> Hi there,
>>
>> Thanks for your reaction. And thank you for the questions too! It  
>> solved the problem of creating a new repository in subclipse.I  
>> completely overlooked the -r option.
>>
>> However, my problems aren't over yet.
>>
>> I am using the latest version of OS X, being 10.5.8.
>> The repositories are located in my home directory under Programming/ 
>> repositories
>> The name of the only repository I have now is svn_prof
>> I went to the repositories directory and the executed the following  
>> command:
>> svnadmin create svn_prof
>> I am running the svnserve with -d and -r . (launched from within  
>> the repositories directory)
>>
>> When I want to add my project to this repository (using 'Share  
>> project' from within Eclipse) I now get the following messages:
>
> I'm not familiar with the terminology Subclipse uses...
>
>
>>    Filesystem has no item
>> svn: URL 'svn://localhost/svn_prof/vetrasoft-app' non-existent in  
>> that revision
>
> ...but presumably Subclipse tried to put something inside the  
> directory vetrasoft-app in the repository, but that directory did  
> not exist. So your instinct to try to create the directory was  
> correct:
>
>
>> mkdir --parents -m "Initial import." svn://localhost/svn_prof/ 
>> vetrasoft-app
>>    Authorization failed
>
> You mean "svn mkdir"?
>
> I'm not experienced in diagnosing authorization issues but perhaps  
> someone else on the list is, if you will provide more detail, such  
> as how you've set up your authorization and what username you  
> supplied to the svn command (or what authorization was already  
> cached in your auth cache).
>
>
>> Do I need to use sudo to run svnserve? What would be the best way  
>> to get svnserve running in the first place? Or do I need to start  
>> it up using the command line every time?
>
> You don't need sudo; you just need to run svnserve as whatever user  
> you want the repository to be owned by. I think people often create  
> an svn user and run svnserve as that (and chown the repository to  
> that user).
>
> You can use whatever method of starting the svnserve process that  
> you like. On Mac OS X, launchd is a popular method of getting  
> daemons to start at system startup.
>
> http://developer.apple.com/MacOsX/launchd.html
>
> http://en.wikipedia.org/wiki/Launchd
>
>
>
> P.S: Don't forget to Reply All so your reply goes to the list too,  
> not just to me.
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2383257

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Problems getting subclipse to work on mac os x with subclipse

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 12, 2009, at 06:21, Stef Kuypers wrote:

> On 11-Aug-09, at 22:21, Ryan Schmidt wrote:
>
>> On Aug 11, 2009, at 08:05, Stef Kuypers wrote:
>>
>>> I've installed the openCollabNet binary package of subversion for  
>>> mac
>>> os x, I installed the latest version of Eclipse (3.5) and subclipse
>>> (1.6.4), I am running the svnserve application as a standalone  
>>> daemon
>>> and I used the svnadmin command line tool to make a repository
>>> (although I thought this should be possible using subclipse).
>>>
>>> I still don't manage to create a new repository location in  
>>> subclipse.
>>> I keep getting connection refused and no repository found errors.
>>>
>>> I've been scouting the internet for a solution but to no avail. Is
>>> there someone who can give me a solution to this problem?
>>>
>>> I only want to set up a single user local subversion repository .
>>
>> You'll need to supply more detail. What version of Mac OS X? Where  
>> on disk is the repository -- what was the path you passed to  
>> svnadmin create? How are you running svnserve -- with what -r  
>> parameter, if any? What URL are you trying to check out from? What  
>> error message exactly did you get? Have you tried enabling logging  
>> in svnserve, and if so what does the log say?
>
> Hi there,
>
> Thanks for your reaction. And thank you for the questions too! It  
> solved the problem of creating a new repository in subclipse.I  
> completely overlooked the -r option.
>
> However, my problems aren't over yet.
>
> I am using the latest version of OS X, being 10.5.8.
> The repositories are located in my home directory under Programming/ 
> repositories
> The name of the only repository I have now is svn_prof
> I went to the repositories directory and the executed the following  
> command:
> svnadmin create svn_prof
> I am running the svnserve with -d and -r . (launched from within  
> the repositories directory)
>
> When I want to add my project to this repository (using 'Share  
> project' from within Eclipse) I now get the following messages:

I'm not familiar with the terminology Subclipse uses...


>     Filesystem has no item
> svn: URL 'svn://localhost/svn_prof/vetrasoft-app' non-existent in  
> that revision

...but presumably Subclipse tried to put something inside the  
directory vetrasoft-app in the repository, but that directory did not  
exist. So your instinct to try to create the directory was correct:


> mkdir --parents -m "Initial import." svn://localhost/svn_prof/ 
> vetrasoft-app
>     Authorization failed

You mean "svn mkdir"?

I'm not experienced in diagnosing authorization issues but perhaps  
someone else on the list is, if you will provide more detail, such as  
how you've set up your authorization and what username you supplied  
to the svn command (or what authorization was already cached in your  
auth cache).


> Do I need to use sudo to run svnserve? What would be the best way  
> to get svnserve running in the first place? Or do I need to start  
> it up using the command line every time?

You don't need sudo; you just need to run svnserve as whatever user  
you want the repository to be owned by. I think people often create  
an svn user and run svnserve as that (and chown the repository to  
that user).

You can use whatever method of starting the svnserve process that you  
like. On Mac OS X, launchd is a popular method of getting daemons to  
start at system startup.

http://developer.apple.com/MacOsX/launchd.html

http://en.wikipedia.org/wiki/Launchd



P.S: Don't forget to Reply All so your reply goes to the list too,  
not just to me.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2383151

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Problems getting subclipse to work on mac os x with subclipse

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 11, 2009, at 08:05, Stef Kuypers wrote:

> I've installed the openCollabNet binary package of subversion for mac
> os x, I installed the latest version of Eclipse (3.5) and subclipse
> (1.6.4), I am running the svnserve application as a standalone daemon
> and I used the svnadmin command line tool to make a repository
> (although I thought this should be possible using subclipse).
>
> I still don't manage to create a new repository location in subclipse.
> I keep getting connection refused and no repository found errors.
>
> I've been scouting the internet for a solution but to no avail. Is
> there someone who can give me a solution to this problem?
>
> I only want to set up a single user local subversion repository .

You'll need to supply more detail. What version of Mac OS X? Where on  
disk is the repository -- what was the path you passed to svnadmin  
create? How are you running svnserve -- with what -r parameter, if  
any? What URL are you trying to check out from? What error message  
exactly did you get? Have you tried enabling logging in svnserve, and  
if so what does the log say?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2382659

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].