Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse version
Eclipse version [message #328220] Mon, 19 May 2008 10:12 Go to next message
Eclipse UserFriend
Originally posted by: egidijus.vaisnora.nomagiclt.com

What is good way to find out what eclipse version is installed? My code must ensure to integrate properly with Eclipse platform
and when user selects Eclipse install root, I need to decide - if it is 3.4 eclipse and search for "dropins" directory, or it
is earlier Eclipse platform with "plugins" directory?
Re: Eclipse version [message #328224 is a reply to message #328220] Mon, 19 May 2008 13:23 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Egidijus Vaisnora wrote:
> What is good way to find out what eclipse version is installed? My code
> must ensure to integrate properly with Eclipse platform and when user
> selects Eclipse install root, I need to decide - if it is 3.4 eclipse
> and search for "dropins" directory, or it is earlier Eclipse platform
> with "plugins" directory?
Help->About Eclipse Platform
Re: Eclipse version [message #328225 is a reply to message #328220] Mon, 19 May 2008 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Egidijus Vaisnora wrote:
> What is good way to find out what eclipse version is installed? My code
> must ensure to integrate properly with Eclipse platform and when user
> selects Eclipse install root, I need to decide - if it is 3.4 eclipse
> and search for "dropins" directory, or it is earlier Eclipse platform
> with "plugins" directory?

Well, versions prior to 3.4 won't even have a dropins directory, os you
could just look for that and if its there assume you are dealing with 3.4.

The only other idea I have is to look in the features directory for a
directory name that begins with "org.eclipse.platform_3.4" as opposed to
"org.eclipse.platform_3.3"

Hope this helps,
Eric
Re: Eclipse version [message #328229 is a reply to message #328220] Mon, 19 May 2008 14:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.shedid.de

Egidijus Vaisnora schrieb:
> What is good way to find out what eclipse version is installed? My code
> must ensure to integrate properly with Eclipse platform and when user
> selects Eclipse install root, I need to decide - if it is 3.4 eclipse
> and search for "dropins" directory, or it is earlier Eclipse platform
> with "plugins" directory?

How about parsing Platform.getProduct().getDescription() ?

Regards,
Dirk
Re: Eclipse version [message #328237 is a reply to message #328229] Mon, 19 May 2008 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: totolaricot.mac.com

Dirk Bernsau wrote:
> Egidijus Vaisnora schrieb:
>> What is good way to find out what eclipse version is installed? My
>> code must ensure to integrate properly with Eclipse platform and when
>> user selects Eclipse install root, I need to decide - if it is 3.4
>> eclipse and search for "dropins" directory, or it is earlier Eclipse
>> platform with "plugins" directory?
>
> How about parsing Platform.getProduct().getDescription() ?
>
> Regards,
> Dirk
from the formulation of the question, I was under the impression that he
was looking for that information from outside of eclipse. in that case,
looking at the plugin version might be better. another problem might
exist for derived products and might have a different topology on disk
(or even eclipse 3.4 with some shared install)

--
Laurent Mihalkovic, co-author SWT/JFace in Action (www.manning.com/scarpino)
Re: Eclipse version [message #328249 is a reply to message #328237] Tue, 20 May 2008 06:08 Go to previous message
Eclipse UserFriend
Originally posted by: egidijus.vaisnora.nomagiclt.com

Exactly, idea is to find Eclipse version, not starting it. And, of course, there is problem with derived products, like RAD,
JBuilder and etc. - for all products I need to specify different integration scenario (my tool helps to integrate product as
plugin for Eclipse, regarding the Eclipse version or derivation )

L. Mihalkovic wrote:
> Dirk Bernsau wrote:
>> Egidijus Vaisnora schrieb:
>>> What is good way to find out what eclipse version is installed? My
>>> code must ensure to integrate properly with Eclipse platform and when
>>> user selects Eclipse install root, I need to decide - if it is 3.4
>>> eclipse and search for "dropins" directory, or it is earlier Eclipse
>>> platform with "plugins" directory?
>>
>> How about parsing Platform.getProduct().getDescription() ?
>>
>> Regards,
>> Dirk
> from the formulation of the question, I was under the impression that he
> was looking for that information from outside of eclipse. in that case,
> looking at the plugin version might be better. another problem might
> exist for derived products and might have a different topology on disk
> (or even eclipse 3.4 with some shared install)
>
Previous Topic:Intro to using JNI with Eclipse?
Next Topic:Tableviewer with databinding and inline edit support for boolean
Goto Forum:
  


Current Time: Tue Sep 17 16:22:05 GMT 2024

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

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

Back to the top