Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Migrating my application from 2.0 to 3.0
Migrating my application from 2.0 to 3.0 [message #275334] Sat, 06 November 2004 16:40 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

I am migrating to 3.0 and have removed
org.eclipse.core.runtime.compatibility in an attempt to find out what
parts require it.

First, is there a better way to know what is and is not using this
compatibility plugin?

Second, My class SampleView is not compiling with it removed and says
that ViewPart (Which SampleView extends) indirectly references
org.eclipse.core.runtime.IExecutableExtension.

I can't tell how, but more importantly, I could not find any information
on what I'm supposed to do as a replacement!? I read the help file on
migrating to 3.0 but it does not give an overall synopsis of what has
happened. So I am stuck with an incompatability that I fear is a
fundamental one, but have no idea where to look for how to solve it?

So I have turned to you. Thank you for your help because I am lost
here. I got out all the deprecations for the most part, but i can't get
rid of the compatibility plugin...




--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: Migrating my application from 2.0 to 3.0 [message #275335 is a reply to message #275334] Sat, 06 November 2004 16:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

In my case, I fixed all my errors with these two steps:

- Add <?eclipse version="3.0"?> as the second line of your
plugin.xml file.

- Add <import plugin="org.eclipse.core.runtime"/> to <requires>
section fo your plugin.xml file.

Then you will see many warnings of deprectade methods. Well, this was my
case.

Hope it helps,

Chemi.

CL [dnoyeb] Gilbert wrote:

> I am migrating to 3.0 and have removed
> org.eclipse.core.runtime.compatibility in an attempt to find out what
> parts require it.
>
> First, is there a better way to know what is and is not using this
> compatibility plugin?
>
> Second, My class SampleView is not compiling with it removed and says
> that ViewPart (Which SampleView extends) indirectly references
> org.eclipse.core.runtime.IExecutableExtension.
>
> I can't tell how, but more importantly, I could not find any
> information on what I'm supposed to do as a replacement!? I read the
> help file on migrating to 3.0 but it does not give an overall synopsis
> of what has happened. So I am stuck with an incompatability that I
> fear is a fundamental one, but have no idea where to look for how to
> solve it?
>
> So I have turned to you. Thank you for your help because I am lost
> here. I got out all the deprecations for the most part, but i can't
> get rid of the compatibility plugin...
Re: Migrating my application from 2.0 to 3.0 [message #275336 is a reply to message #275335] Sat, 06 November 2004 17:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

Yea man, that worked like a charm!!! I had already ridded myself of the
deprecations and made my plugin 3.0 compatible according to the guide,
but i missed the essence of what the compatability plugin did. I was
already at eclipse version 3.0 in my plugin.xml, so i

removed

<import plugin="org.eclipse.core.runtime.compatibility"/>

added

<import plugin="org.eclipse.core.runtime"/>

Now the thing is running and I guess im 3.0 compatible. Next stop is to
understand osgi i guess...



For the record what Eclipse seems to have done is this

1. updated its packages with new stuff
2. since these new updated packages would be incompatible with 2.x
programs, any 2.x programs can no longer link to them.
3. 2.x programs now instead of linking to all these different plugins
they would normally link, they just link to the compatability plugin.

This means as you suggested when you remove the compatability plugin,
you must add back the stuff the migration tool probably removed. At
least that is what it seems to me.




Chemi wrote:
> In my case, I fixed all my errors with these two steps:
>
> - Add <?eclipse version="3.0"?> as the second line of your plugin.xml
> file.
>
> - Add <import plugin="org.eclipse.core.runtime"/> to <requires>
> section fo your plugin.xml file.
>
> Then you will see many warnings of deprectade methods. Well, this was my
> case.
>
> Hope it helps,
>
> Chemi.
>
> CL [dnoyeb] Gilbert wrote:
>
>> I am migrating to 3.0 and have removed
>> org.eclipse.core.runtime.compatibility in an attempt to find out what
>> parts require it.
>>
>> First, is there a better way to know what is and is not using this
>> compatibility plugin?
>>
>> Second, My class SampleView is not compiling with it removed and says
>> that ViewPart (Which SampleView extends) indirectly references
>> org.eclipse.core.runtime.IExecutableExtension.
>>
>> I can't tell how, but more importantly, I could not find any
>> information on what I'm supposed to do as a replacement!? I read the
>> help file on migrating to 3.0 but it does not give an overall synopsis
>> of what has happened. So I am stuck with an incompatability that I
>> fear is a fundamental one, but have no idea where to look for how to
>> solve it?
>>
>> So I have turned to you. Thank you for your help because I am lost
>> here. I got out all the deprecations for the most part, but i can't
>> get rid of the compatibility plugin...


--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Re: Migrating my application from 2.0 to 3.0 [message #275347 is a reply to message #275334] Sat, 06 November 2004 22:36 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.nospam.inf.ufsc.br.please

First question: none that I know of.

Second question: I believe that if you don't import
org.eclipse.core.runtime.compatibility, you are required to import
org.eclipse.core.runtime explicitly. 2.1 plug-ins got this dependency for
free.

HTH,

Rafael

CL [dnoyeb] Gilbert wrote:

> I am migrating to 3.0 and have removed
> org.eclipse.core.runtime.compatibility in an attempt to find out what
> parts require it.

> First, is there a better way to know what is and is not using this
> compatibility plugin?

> Second, My class SampleView is not compiling with it removed and says
> that ViewPart (Which SampleView extends) indirectly references
> org.eclipse.core.runtime.IExecutableExtension.

> I can't tell how, but more importantly, I could not find any information
> on what I'm supposed to do as a replacement!? I read the help file on
> migrating to 3.0 but it does not give an overall synopsis of what has
> happened. So I am stuck with an incompatability that I fear is a
> fundamental one, but have no idea where to look for how to solve it?

> So I have turned to you. Thank you for your help because I am lost
> here. I got out all the deprecations for the most part, but i can't get
> rid of the compatibility plugin...
Previous Topic:3.1 M3 ant preferences not available
Next Topic:[MacOS X.3.6] Eclipse 3.1M2 no line numbers
Goto Forum:
  


Current Time: Sun Jun 08 09:06:27 EDT 2025

Powered by FUDForum. Page generated in 0.12416 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top