Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How To Clean Launch Workspace ?(Working on two RAP projects and seems get workspace mixed up when launching)
How To Clean Launch Workspace ? [message #520950] Mon, 15 March 2010 21:56 Go to next message
Marc T. is currently offline Marc T.Friend
Messages: 17
Registered: November 2009
Junior Member
Hallo,

I'm currently developing two RAP applications, which I start alternating from the IDE.

One of these applications don't start up anymore, posting a 'Can't restore perspective' message with details showing, that it tries to restore a perspective, that belongs to the other application.

When launching a normal RCP application, I can configure 'clear workspace' to erase all saved perferences from a previous launch.

I guess, that would do the trick, but I can't find this option for a RAP launch configuration.

Where does RAP store application dependent view settings etc. anyway ? How can they get mixed up for different applications ?

Thanks

Marc
Re: How To Clean Launch Workspace ? [message #520962 is a reply to message #520950] Mon, 15 March 2010 23:35 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Marc,

the "trick" is to delete the folder named "workspace" under your Eclipse
IDE install folder. This is the place, where the settings are stored.

HTH,
Ivan

On 03/15/2010 11:56 PM, Marc42 wrote:
> Hallo,
>
> I'm currently developing two RAP applications, which I start
> alternating from the IDE.
>
> One of these applications don't start up anymore, posting a 'Can't
> restore perspective' message with details showing, that it tries to
> restore a perspective, that belongs to the other application.
>
> When launching a normal RCP application, I can configure 'clear
> workspace' to erase all saved perferences from a previous launch.
>
> I guess, that would do the trick, but I can't find this option for a
> RAP launch configuration.
> Where does RAP store application dependent view settings etc. anyway ?
> How can they get mixed up for different applications ?
>
> Thanks
>
> Marc
Re: How To Clean Launch Workspace ? [message #521031 is a reply to message #520962] Tue, 16 March 2010 09:41 Go to previous messageGo to next message
Marc T. is currently offline Marc T.Friend
Messages: 17
Registered: November 2009
Junior Member
Thank you, it's working again !

Marc
Re: How To Clean Launch Workspace ? [message #521247 is a reply to message #521031] Tue, 16 March 2010 21:54 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi,

you may also want to cc yourself on this bug:

254718: [Tooling][Launcher] Workspace Data section missing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=254718

Regards,
Ben

Marc42 wrote:
> Thank you, it's working again !
>
> Marc


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: How To Clean Launch Workspace ? [message #521958 is a reply to message #521247] Fri, 19 March 2010 13:01 Go to previous messageGo to next message
Martijn Cremer is currently offline Martijn CremerFriend
Messages: 77
Registered: January 2010
Location: Breda
Member

Don't we have something like that in the Run Configuration -> Settings. (al touch as far as I know the Clear configuration area before launching not really working I have it checked but more then once I got to remove them by hand).

hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Re: How To Clean Launch Workspace ? [message #522209 is a reply to message #521958] Sun, 21 March 2010 05:16 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Martijn,

I think you mix up the configuration area and the workspace here. In the
configuration area, OSGi stores it's config for the launch (which
bundles to start etc). In the workspace area, RAP (and other bundles)
store their data.

Ralf

Martijn Cremer wrote:
> Don't we have something like that in the Run Configuration -> Settings.
> (al touch as far as I know the Clear configuration area before launching
> not really working I have it checked but more then once I got to remove
> them by hand).
Previous Topic:How to add image and specify location?
Next Topic:Error disposing image resource
Goto Forum:
  


Current Time: Sat Oct 05 09:59:39 GMT 2024

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

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

Back to the top