Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to make Eclipse pickup new features
How to make Eclipse pickup new features [message #312631] Wed, 14 February 2007 16:46 Go to next message
Eclipse UserFriend
When we shipped our RCP application, we used an installer that pretty much
unzipped the files to a directory. The features included in this installer
were all 1.0.0, but now we are shipping a updated version of our RCP app. In
this case installer will pretty much do the same thing, which is to unzip
the updated features and plugins to that same directory. This time the
features are all at 1.0.1.

When I start my RCP application the Manage Configuration dialog shows that
Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have Eclipse
automatically enable the newer feature.

I can not use the -clean option because our RCP application is installed in
shared location and may users use it on the same system. Every user has
their own configuration area where the plugin cache and prefs are saved. Is
there way I can have the new feature enabled instead of the old one.

Thanks
Nirav
Re: How to make Eclipse pickup new features [message #312641 is a reply to message #312631] Wed, 14 February 2007 19:17 Go to previous messageGo to next message
Eclipse UserFriend
You can use the Eclipse update mechanism. The new feature would be
enabled automatically. The user would have the old feature as well.

You can also remove platform.xml from
RCP_HOME/configuration/org.eclipse.update
and the update configurator will create a new configuration.
In this case, the user probably won't have the old feature.

Snjeza

Nirav Sheth wrote:
> When we shipped our RCP application, we used an installer that pretty much
> unzipped the files to a directory. The features included in this installer
> were all 1.0.0, but now we are shipping a updated version of our RCP app. In
> this case installer will pretty much do the same thing, which is to unzip
> the updated features and plugins to that same directory. This time the
> features are all at 1.0.1.
>
> When I start my RCP application the Manage Configuration dialog shows that
> Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have Eclipse
> automatically enable the newer feature.
>
> I can not use the -clean option because our RCP application is installed in
> shared location and may users use it on the same system. Every user has
> their own configuration area where the plugin cache and prefs are saved. Is
> there way I can have the new feature enabled instead of the old one.
>
> Thanks
> Nirav
>
>
Re: How to make Eclipse pickup new features [message #312769 is a reply to message #312641] Mon, 19 February 2007 11:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
I tried doing this by deleting the configuration folder in general and when
I started my RCP application up again, it loaded my new plugins with version
1.0.1, but the features in the Manage Configuration dialog were still at
1.0.0.

Thanks
Nirav

"Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
news:er08qb$h2j$1@utils.eclipse.org...
> You can use the Eclipse update mechanism. The new feature would be enabled
> automatically. The user would have the old feature as well.
>
> You can also remove platform.xml from
> RCP_HOME/configuration/org.eclipse.update
> and the update configurator will create a new configuration.
> In this case, the user probably won't have the old feature.
>
> Snjeza
>
> Nirav Sheth wrote:
>> When we shipped our RCP application, we used an installer that pretty
>> much unzipped the files to a directory. The features included in this
>> installer were all 1.0.0, but now we are shipping a updated version of
>> our RCP app. In this case installer will pretty much do the same thing,
>> which is to unzip the updated features and plugins to that same
>> directory. This time the features are all at 1.0.1.
>>
>> When I start my RCP application the Manage Configuration dialog shows
>> that Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have
>> Eclipse automatically enable the newer feature.
>>
>> I can not use the -clean option because our RCP application is installed
>> in shared location and may users use it on the same system. Every user
>> has their own configuration area where the plugin cache and prefs are
>> saved. Is there way I can have the new feature enabled instead of the old
>> one.
>>
>> Thanks
>> Nirav
Re: How to make Eclipse pickup new features [message #312775 is a reply to message #312631] Mon, 19 February 2007 17:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lamont_gilbert.rigidsoftware.com

On Wed, 14 Feb 2007 16:46:16 -0500, Nirav Sheth wrote:

> When we shipped our RCP application, we used an installer that pretty much
> unzipped the files to a directory. The features included in this installer
> were all 1.0.0, but now we are shipping a updated version of our RCP app.
> In this case installer will pretty much do the same thing, which is to
> unzip the updated features and plugins to that same directory. This time
> the features are all at 1.0.1.
>
> When I start my RCP application the Manage Configuration dialog shows that
> Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have Eclipse
> automatically enable the newer feature.
>
> I can not use the -clean option because our RCP application is installed
> in shared location and may users use it on the same system. Every user has
> their own configuration area where the plugin cache and prefs are saved.
> Is there way I can have the new feature enabled instead of the old one.
>
> Thanks
> Nirav

Double check it. I have updated with new features and found that Eclipse
for whatever reason always shows the oldest feature. But if you look at
the plugins loaded, they are the plugins from the new feature.

If thats not the case, make sure you check your dependencies well.
Re: How to make Eclipse pickup new features [message #312782 is a reply to message #312775] Tue, 20 February 2007 02:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

Try starting eclipse with the -clean command line option. e.g. "eclipse -clean".
This clears out it's internal cache.
--
Derek


CL 'dnoyeB' Gilbert wrote:
> On Wed, 14 Feb 2007 16:46:16 -0500, Nirav Sheth wrote:
>
>> When we shipped our RCP application, we used an installer that pretty much
>> unzipped the files to a directory. The features included in this installer
>> were all 1.0.0, but now we are shipping a updated version of our RCP app.
>> In this case installer will pretty much do the same thing, which is to
>> unzip the updated features and plugins to that same directory. This time
>> the features are all at 1.0.1.
>>
>> When I start my RCP application the Manage Configuration dialog shows that
>> Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have Eclipse
>> automatically enable the newer feature.
>>
>> I can not use the -clean option because our RCP application is installed
>> in shared location and may users use it on the same system. Every user has
>> their own configuration area where the plugin cache and prefs are saved.
>> Is there way I can have the new feature enabled instead of the old one.
>>
>> Thanks
>> Nirav
>
> Double check it. I have updated with new features and found that Eclipse
> for whatever reason always shows the oldest feature. But if you look at
> the plugins loaded, they are the plugins from the new feature.
>
> If thats not the case, make sure you check your dependencies well.
>
Re: How to make Eclipse pickup new features [message #312803 is a reply to message #312782] Tue, 20 February 2007 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Derek,
Running eclipse with -clean shouldn't matter because in my case I am
deleting the configuration directory which contains the plugin cache.

Does anyone know how Eclipse figures out what feature to show in the Manage
Configuration dialog. It seems like it doesn't depend on the version or the
time stamps of the directories. I have tried both of those methods and it
seems like no matter what it always pick 1.0.0.

Thanks
Nirav


"Derek Morris" <dmsubs@NOSPAM.consertum.com> wrote in message
news:ere9n5$dkm$2@utils.eclipse.org...
> Try starting eclipse with the -clean command line option. e.g.
> "eclipse -clean". This clears out it's internal cache.
> --
> Derek
>
>
> CL 'dnoyeB' Gilbert wrote:
>> On Wed, 14 Feb 2007 16:46:16 -0500, Nirav Sheth wrote:
>>
>>> When we shipped our RCP application, we used an installer that pretty
>>> much
>>> unzipped the files to a directory. The features included in this
>>> installer
>>> were all 1.0.0, but now we are shipping a updated version of our RCP
>>> app.
>>> In this case installer will pretty much do the same thing, which is to
>>> unzip the updated features and plugins to that same directory. This time
>>> the features are all at 1.0.1.
>>>
>>> When I start my RCP application the Manage Configuration dialog shows
>>> that
>>> Feature-1.0.0 is enabled instead of 1.0.1. Is there way I can have
>>> Eclipse
>>> automatically enable the newer feature.
>>>
>>> I can not use the -clean option because our RCP application is installed
>>> in shared location and may users use it on the same system. Every user
>>> has
>>> their own configuration area where the plugin cache and prefs are saved.
>>> Is there way I can have the new feature enabled instead of the old one.
>>>
>>> Thanks
>>> Nirav
>>
>> Double check it. I have updated with new features and found that Eclipse
>> for whatever reason always shows the oldest feature. But if you look at
>> the plugins loaded, they are the plugins from the new feature.
>>
>> If thats not the case, make sure you check your dependencies well.
>>
Re: How to make Eclipse pickup new features [message #312805 is a reply to message #312803] Tue, 20 February 2007 14:51 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I really strongly recommend you look into using the update manager (you
can run it from a command line to install just your new feature). That
will handle all of this business for you with no need to call -clean and
so on.

--
Thanks,
Rich Kulp
Previous Topic:Exporting archives in headless mode
Next Topic:IDE 3.2.2 Launch Fails
Goto Forum:
  


Current Time: Tue Jul 22 15:58:05 EDT 2025

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

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

Back to the top