|
|
Re: Multiple eclipse version support. [message #331527 is a reply to message #331520] |
Thu, 11 September 2008 12:52 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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] |
Fri, 12 September 2008 01:04 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Kim Myoungki![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=zephyran%40gmail.com) Messages: 12 Registered: July 2009 |
Junior Member |
|
|
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.
>>>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07233 seconds