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

Re: MoveDeleteHook cleanup questions

From: lamikr <lamikr_at_cc.jyu.fi>
Date: 2005-01-22 12:55:54 CET

> As for problem 2. Do you have any errors in your eclispe log at all?
> show view -> Other... choose pde runtime then log viewer
>
No the log view is empty. I investigated it a more and I think that I
know now the problem.
I think there does not happen any crash in this kind of situations.
When new project is shared subclipse is just not checking whether the
folders where
the project is planned to put exist. And because they do not exist,
subversion will send error message.

Failing case
-----------------
- Create project Test2
- Select team/share
- Select SVN repository and press next
- Select radiobutton "Use specified module name:" and write "code/Test2"
- Press finish
--> You will see an error message box
    Title: "Problem Occured",
    Msg: Error while creating module
org.tigris.subversion.javahl.ClientException:
             HTTP Path Not Found
             svn: PROPFIND request failed on '/svn/repos/code2'
             svn: '/svn/repos/code2' not found

Easy Workaround
------------------------
- Checout repository
- Create directory code2
- Execute: svn add code2
- svn commit --message "subdir created"
--> After this the run of failing case would work because it can add
Test2 project under the code2 project.

So I think the problem is that before adding the "Project" into
repository Subclipse should check whether
its parent directories exist. If parent directories does not exist they
should be created.
(Maybe an confirmation dialog should be showed)

To another issue. I will now try your MoveDeleteHook patches...

Mika
Received on Sat Jan 22 22:55:54 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.