Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with Update jar File
icon1.gif  Problem with Update jar File [message #702486] Tue, 26 July 2011 12:38 Go to next message
Diddy  is currently offline Diddy
Messages: 6
Registered: April 2010
Location: China
Junior Member

Hi:
I'm a beginner for developing within eclipse RCP, and I get some problem here, please help.

I publish our RCP based product to our customer and there are always a autoupdate program to update products up to date. It job is simple: just replace every plug-in bundle which in single jar file. But when I append some new EditParts/ViewParts to new version, and customer update their version up to date, They will get 'Can not found viewpart' error, it's work fine in my develop environment and if I try to clear client's configuration folder and remove workspace folder, it works find too.

Is there a better solution to fix it?
(no subject) [message #703770 is a reply to message #702486] Wed, 27 July 2011 22:07 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Diddy,

Your method is not very elegant. Eclipse caches much information that is
linked to the previous versions of the plugins. You should consider using the
P2 update mechanism to update your product. In case you want to continue
replacing the plugins. Try restarting with the -clean option after an update.

Regards,

Wim


> Hi:
> I'm a beginner for developing within eclipse RCP, and I get some problem
here, please help.
>
> I publish our RCP based product to our customer and there are always a
autoupdate program to update products up to date. It job is simple: just
replace every plug-in bundle which in single jar file. But when I append some
new EditParts/ViewParts to new version, and customer update their version up
to date, They will get 'Can not found viewpart' error, it's work fine in my
develop environment and if I try to clear client's configuration folder and
remove workspace folder, it works find too.
>
> Is there a better solution to fix it?
Re: (no subject) [message #706920 is a reply to message #703770] Mon, 01 August 2011 02:54 Go to previous message
Diddy  is currently offline Diddy
Messages: 6
Registered: April 2010
Location: China
Junior Member

Hi Wim:
Thank you every much, I will try it.
Previous Topic:Adding actions to properties view
Next Topic:RCP Marker resolution
Goto Forum:
  


Current Time: Fri Sep 19 16:09:26 GMT 2014

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

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