Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: Eclipse 3.0 support

subclipse
Discussion topic

Back to topic list

RE: Eclipse 3.0 support

Author "Leeuw van der, Tim" <tim dot leeuwvander at nl dot unisys dot com>
Full name "Leeuw van der, Tim" <tim dot leeuwvander at nl dot unisys dot com>
Date 2003-08-25 03:34:56 PDT
Message Hi,

I thought that the svnup - wrapper code was being moved into svn proper? So
that it's the same wrapper that they'll be using just with different
package-names.

--Tim

-----Original Message-----
From: Nico Seessle [mailto:nseessle at tigris dot org]
Sent: maandag 25 augustus 2003 1:11
To: dev at subclipse dot tigris dot org
Subject: Re: Eclipse 3.0 support


C├ędric Chabanois wrote:
> We will support the latest release. For now, this is 2.1.1
>
> We cannot support both the latest release and 3.0 version, so we have to
> make a choice.
> However if we find a way to support both 2.1.1 and 3.0, we will do it.
> Nico Seessle will perhaps submit a patch for that : he made subclipse
> 0.6 work on Eclipse 3.0 M2

At first a big sorry. I have not currently a command-line svn installed,
and none of the GUI-Tools available seem to be able to generate some
readable diff-format :-(

The changes would be (as known until now):

Some not so problematic changes (in core):

IRemoteResource defines three new Methods

    public String getComment() throws TeamException;
    public String getContentIdentifier() throws TeamException;
    public String getCreatorDisplayName() throws TeamException;

but I don't think that should be a problem to add them (but I don't know
by now how to make them return something useful, will get to this later)

In SVNWorkspaceRoot.scr​ubProjects() there was a TeamException catched
which is no longer thrown by any call in this method. One could (I
guess) work around this (if one whishes to have this code only once) by
using something like

catch (Exception ex) {
   if (ex instanceof TeamException) {
     throw SVNException.wrapException(e);
   } else {
     throw ex;
   }
}

but maybe this will make stack-traces unusable?

Changes in UI:

SVNUIPlugIn.runWithProgress()
Old:
TeamUIPlugin.runWith​Progress(parent, cancelable, runnable);
New:
Utils.runWithProgress(parent, cancelable, runnable);

CheckoutAsAction:
PromptingDialog and IPromptCondition moved from
org.eclipse.team.internal.ui to org.eclipse.team.int​ernal.ui.dialogs

SVNLightweightDecorator:
Uses TeamImages.getImageDescriptor in some places, which no longer exists.

AddToVersionControlDialog:
DetailsDialog moved from org.eclipse.team.internal.ui to
org.eclipse.team.int​ernal.ui.dialogs

RemoveRootAction:
DetailsDialogWithProjects moved from org.eclipse.team.internal.ui to
org.eclipse.team.int​ernal.ui.dialogs

Especially Label-decoration is very unstable and needs some work. Then I
(or someone else) needs to find the best way for providing compatibility
with Eclipse 2.x if running under 3.x.

One way would be to copy over the affected classes and provide a
"fragment" (if this works, I have only read about it by now), the other
way would be to provide the missing classes from the
org.eclipse-hierarchy in Eclipse 3.x.

I will try to find some time next week, but maybe you need to wait for
M3 (or next weekend in other words).

Another question: Did I understand it correctly, that you are moving
away from the wrapper-code provided by "svnup" and using the
wrapper-code which is available directly from subversion for future
devlopment?

Nico



--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: dev-help at subclipse dot tigris dot org

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: dev-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

RE: Eclipse 3.0 support "Leeuw van der, Tim" <tim dot leeuwvander at nl dot unisys dot com> "Leeuw van der, Tim" <tim dot leeuwvander at nl dot unisys dot com> 2003-08-25 03:34:56 PDT
Messages per page: