Multiple eclipse version support. [message #331516] |
Thu, 11 September 2008 01:22  |
Eclipse User |
|
|
|
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 #331520 is a reply to message #331516] |
Thu, 11 September 2008 10:18   |
Eclipse User |
|
|
|
Kim,
In Window->Preferences->Plug-in Development->Target Platform you can
pick which the version of the platform you'd like to develop against.
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 #331527 is a reply to message #331520] |
Thu, 11 September 2008 12: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] |
Fri, 12 September 2008 01: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.
>>>
|
|
|
|
Re: Multiple eclipse version support. [message #331667 is a reply to message #331598] |
Tue, 16 September 2008 05:34  |
Eclipse User |
|
|
|
Paul Webster wrote:
> Kim Myoungki wrote:
>>
>> 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?
> Not in 3.3 or 3.4. It sounds like you would need the ability to have
> per-project target platforms. I would think that there was already a
> bug or 2 open about this, but the closest I was able to find was
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=186618
> PW
Thank you for your reply. I think it is same situation. There is no
solution now. :(
Anyway thanks again.
|
|
|
Powered by
FUDForum. Page generated in 0.03592 seconds