Home » Eclipse Projects » Eclipse Platform » Multiple eclipse version support.
| |
Re: Multiple eclipse version support. [message #331527 is a reply to message #331520] |
Thu, 11 September 2008 08:52   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Ed Merks wrote:
> Kim,
>
> In Window->Preferences->Plug-in Development->Target Platform you can
> pick which the version of the platform you'd like to develop against.
If you need your code to run on both versions, you will have to decide
whether or not you want different code for 3.3 than for 3.2. If you
decide that is too difficult to manage (it IS difficult to manage), then
you can't use any of the new API that is in 3.3; you'll have to stick
with 3.2 API.
If you wanted to have different code for each Eclipse version, what I
would recommend is having two separate plugins, each one specified so
that it will only load into the appropriate Eclipse version (you can do
this by carefully specifying the dependencies, using specific version
ranges). You may have to also specify a feature in a special way, too.
Finally, you'll have to set your Target Platform to be 3.3 to write the
version of your plugin that uses 3.3 API.
As I said, this is difficult to manage and set up correctly. If you can
avoid it, that is what I'd recommend.
Eric
> Kim Myoungki wrote:
>> Hi all.
>>
>> I'm developing an eclipse plugin for version 3.2, but recently, I have
>> to support the version 3.3 also.
>>
>> The problem is I'm using some eclipse api related JDT but the api spec
>> is different between 3.2 and 3.3.
>> I'd like to make development environment with 3.3. If the pde can
>> support multiple JDT version, I think it will be done.
>>
>> Is it possible? or If you have any good guide about it, let me know.
>> Thnaks.
>>
|
|
|
Re: Multiple eclipse version support. [message #331575 is a reply to message #331527] |
Thu, 11 September 2008 21:04   |
Eclipse User |
|
|
|
Eric Rizzo wrote:
> Ed Merks wrote:
>> Kim,
>>
>> In Window->Preferences->Plug-in Development->Target Platform you can
>> pick which the version of the platform you'd like to develop against.
> If you need your code to run on both versions, you will have to decide
> whether or not you want different code for 3.3 than for 3.2. If you
> decide that is too difficult to manage (it IS difficult to manage), then
> you can't use any of the new API that is in 3.3; you'll have to stick
> with 3.2 API.
> If you wanted to have different code for each Eclipse version, what I
> would recommend is having two separate plugins, each one specified so
> that it will only load into the appropriate Eclipse version (you can do
> this by carefully specifying the dependencies, using specific version
> ranges). You may have to also specify a feature in a special way, too.
> Finally, you'll have to set your Target Platform to be 3.3 to write the
> version of your plugin that uses 3.3 API.
> As I said, this is difficult to manage and set up correctly. If you can
> avoid it, that is what I'd recommend.
> Eric
Thank you for your tip.
We seperated the code and we made the feature (target to 3.2) and fragment
patch (target to 3.3). It works well. But, we have to make 2 development
environment because of compiling error. Eclipse 3.2 is for the main
stream. Eclipse 3.3 is for the patch.
I'm finding the way the main stream uses eclipse 3.2 jdt library and the
patch uses eclipse 3.3 jdt in one developing environment. Is it possible?
>> Kim Myoungki wrote:
>>> Hi all.
>>>
>>> I'm developing an eclipse plugin for version 3.2, but recently, I have
>>> to support the version 3.3 also.
>>>
>>> The problem is I'm using some eclipse api related JDT but the api spec
>>> is different between 3.2 and 3.3.
>>> I'd like to make development environment with 3.3. If the pde can
>>> support multiple JDT version, I think it will be done.
>>>
>>> Is it possible? or If you have any good guide about it, let me know.
>>> Thnaks.
>>>
|
|
| | |
Goto Forum:
Current Time: Sat May 03 04:03:13 EDT 2025
Powered by FUDForum. Page generated in 0.04298 seconds
|