Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Version number in .eclipseextension file
Version number in .eclipseextension file [message #287144] Fri, 24 June 2005 17:12 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 25
Registered: July 2009
Junior Member
Hi,

I have a question about the version number in ".eclipseextension" file in
the Extension Location: what is this version number used for? I tried to
create an extension location for Eclipse3.1 RC2, so the version number
inside of ".eclipseextension" is '3.1.0'. But I can add this extension
location to Eclipse 3.0. If I change this version number to '2.1.0', I can
add this extension location to Eclipse 3.1 RC2. Is this version number
used to do something?

Thanks,

J.
Re: Version number in .eclipseextension file [message #287163 is a reply to message #287144] Fri, 24 June 2005 22:44 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"J.Li" <jli1@us.ibm.com> wrote in message
news:32247107057e4fd5402b30df6d4b1299$1@www.eclipse.org...
> Hi,
>
> I have a question about the version number in ".eclipseextension" file in
> the Extension Location: what is this version number used for? I tried to
> create an extension location for Eclipse3.1 RC2, so the version number
> inside of ".eclipseextension" is '3.1.0'. But I can add this extension
> location to Eclipse 3.0. If I change this version number to '2.1.0', I can
> add this extension location to Eclipse 3.1 RC2. Is this version number
> used to do something?

In fact, AFAIK, nothing of this file content is used at all.
You can leave the file empty entirely, unless someone tells the contrary
The code that checks for that file does that:
// check the marker
File marker = new File(eclipse, ".eclipseextension"); //$NON-NLS-1$
if (!marker.exists() || marker.isDirectory())
return null;
return eclipse;

Never reads it.
Re: Version number in .eclipseextension file [message #287167 is a reply to message #287144] Fri, 24 June 2005 23:39 Go to previous message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"J.Li" <jli1@us.ibm.com> wrote in message
news:32247107057e4fd5402b30df6d4b1299$1@www.eclipse.org...
> Hi,
>
> I have a question about the version number in ".eclipseextension" file in
> the Extension Location: what is this version number used for? I tried to
> create an extension location for Eclipse3.1 RC2, so the version number
> inside of ".eclipseextension" is '3.1.0'. But I can add this extension
> location to Eclipse 3.0. If I change this version number to '2.1.0', I can
> add this extension location to Eclipse 3.1 RC2. Is this version number
> used to do something?
Just to add something: if you use the update manager and ask for a feature
to be installed in some other location, the update manager will religiously
create an eclispeextension file with all the fields matching those of the
installed product.
id=org.eclipse.platform
name=Eclipse Platform
version=3.1.0

But it is ignored AFAIK.
Previous Topic:./eclipse versus java -jar startup.jar
Next Topic:Why I can't see the icon on the button
Goto Forum:
  


Current Time: Sat Jul 27 16:37:16 GMT 2024

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

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

Back to the top