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

Re: [Subclipse-users] .svn dirs visible on initial checkin

From: Manfred Klug <manklu_at_web.de>
Date: 2006-09-13 18:04:26 CEST

Some insights to the problem.

Let us assume that the problem in FileModificationManager is fixed. We will
notice that there are still problems with the svn directories.

Because the real problem is that Subclipse is not the first listener in the
queue. All listeners, which comes before Subclipse, do not see the new svn
directories as team private members and process them.

Especially the plugins, which are loaded during workbench restore, are a
problem. As far as I know, it is impossible to load a plugin before the
restore without changing the Eclipse configuration.

I can now hear two questions.

Question : Why does this problem not occur with CVS?
Answer : They create the cvs directories inside Eclipse as team private members.
           If you add directories with an external tool and then do a refresh,
           they have the same problem.

Question : Why not use the org.eclipse.ui.startup extension?
Answer : It is useless in this case, since those plugins are loaded *after* workbench restore.

Currently I see three possible solutions for the problem.

1. Subclipse could try to mark all svn directories before they will be
   broadcasted as changes. While this is a possible solution, it omits some
   edge cases like refresh.

2. Provide a lightweight plugin that could be loaded during framework start and
   instruct the user how to change the configuration. While this solution is
   nice and easy to implement, it could be only a short term solution since
   the user has to manually change the configuration.

3. Eclipse should provide a possibility that team providers are able to process
   the changes first. In my opinion this would be the best solution, since it
   would eliminate the problem for all existing and future providers.

Manfred

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Sep 13 19:02:01 2006

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

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