Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Lost my workspace after an update(On Debian Unstable)
Lost my workspace after an update [message #892237] Wed, 27 June 2012 09:17 Go to next message
Ted Ted is currently offline Ted Ted
Messages: 1
Registered: June 2012
Junior Member
Hi everyone,

Today, I was working with Eclipse, and I simultaneously updated my system. As I am using Debian Sid, I simply wrote :

# aptitude update && aptitude upgrade


several dozens of packages were updated, and Eclipse was one of them. Here is the corresponding content of the /var/log/aptitude file :

[UPDATED] eclipse:i386 3.7.2-1 -> 3.8.0~rc3-4
[UPDATED] eclipse-jdt:i386 3.7.2-1 -> 3.8.0~rc3-4
[UPDATED] eclipse-pde:i386 3.7.2-1 -> 3.8.0~rc3-4
[UPDATED] eclipse-platform:i386 3.7.2-1 -> 3.8.0~rc3-4
[UPDATED] eclipse-platform-data:i386 3.7.2-1 -> 3.8.0~rc3-4
[UPDATED] eclipse-rcp:i386 3.7.2-1 -> 3.8.0~rc3-4


In the changelog, I can read :

Quote:

eclipse (3.8.0~rc3-4) unstable; urgency=low

* Upload to unstable.
* Add upper bound on swt-gtk dependency.

-- Niels Thykier <niels@thykier.net> Wed, 20 Jun 2012 12:55:00 +0200


So, I assumed that I should close Eclipse and launch it again for him to apply the changes. So, that's what I did. When I launched again Eclipse, I had a message like "please select a folder to save your workspace" (I was never asked such a question). So, I created a new folder in my ~ directory (/home/me), selected this one, clicked "OK".

After the Eclipse loading time, my workspace was gone. My .java files are still in my disk, but everything else seems to be gone : the Vrapper plugin is gone, the JRE I manually added in Eclipse do not appear any longer in the Preferences window, my Subversion plugin seems to be gone too, there is nothing in the Project Explorer...

I am working at an intern for a free software organisation, and when I started two weeks ago I spent like ten hours to properly install everything and make things work. I really hope that I will not have to do this again...

I someone could tell me that the information about my previous workspace are not gone forever and that I can simply use them again, he would be a life saver.

Thank you very much in advance... Sad
Re: Lost my workspace after an update [message #892247 is a reply to message #892237] Wed, 27 June 2012 09:41 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1336
Registered: July 2009
Senior Member
First you need to realize that installing from a Debian repository isn't the recommended or supported way of installing Eclipse. The Debian Eclipse packages aren't maintained by the Eclipse developers but by a third party. The Eclipse supported method is to download directly from the eclipse.org site and use the built in update mechanism which is aware of open workspaces during the upgrade and is able to handle this situation.

If your old workspace is still available, you should be able to open it up using your new version of Eclipse. At a minimum, you should be able to import your projects from your old workspace to your new one.

You will likely have to install any additional plugins that you previously installed unless the Debian maintainers also include them in their packaging.

Your experience is a major reason not to use the Debian packages. The Eclipse platform doesn't fit well into the Debian package process.
Re: Lost my workspace after an update [message #892250 is a reply to message #892237] Wed, 27 June 2012 09:41 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3146
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 6/27/2012 7:18 AM, Ted Ted wrote:
> Hi everyone,
>
> Today, I was working with Eclipse, and I simultaneously updated my
> system. As I am using Debian Sid, I simply wrote :
>
> # aptitude update && aptitude upgrade
>
> several dozens of packages were updated, and Eclipse was one of them.
> Here is the corresponding content of the /var/log/aptitude file :
>
>
> [UPDATED] eclipse:i386 3.7.2-1 -> 3.8.0~rc3-4
> [UPDATED] eclipse-jdt:i386 3.7.2-1 -> 3.8.0~rc3-4
> [UPDATED] eclipse-pde:i386 3.7.2-1 -> 3.8.0~rc3-4
> [UPDATED] eclipse-platform:i386 3.7.2-1 -> 3.8.0~rc3-4
> [UPDATED] eclipse-platform-data:i386 3.7.2-1 -> 3.8.0~rc3-4
> [UPDATED] eclipse-rcp:i386 3.7.2-1 -> 3.8.0~rc3-4
>
>
> In the changelog, I can read :
>
> Quote:
>> eclipse (3.8.0~rc3-4) unstable; urgency=low
>>
>> * Upload to unstable.
>> * Add upper bound on swt-gtk dependency.
>>
>> -- Niels Thykier <niels@xxxxxxxx> Wed, 20 Jun 2012 12:55:00 +0200
>
>
> So, I assumed that I should close Eclipse and launch it again for him to
> apply the changes. So, that's what I did. When I launched again Eclipse,
> I had a message like "please select a folder to save your workspace" (I
> was never asked such a question). So, I created a new folder in my ~
> directory (/home/me), selected this one, clicked "OK".
>
> After the Eclipse loading time, my workspace was gone. My .java files
> are still in my disk, but everything else seems to be gone : the Vrapper
> plugin is gone, the JRE I manually added in Eclipse do not appear any
> longer in the Preferences window, my Subversion plugin seems to be gone
> too, there is nothing in the Project Explorer...
>
> I am working at an intern for a free software organisation, and when I
> started two weeks ago I spent like ten hours to properly install
> everything and make things work. I really hope that I will not have to
> do this again...
>
> I someone could tell me that the information about my previous workspace
> are not gone forever and that I can simply use them again, he would be a
> life saver.
>
> Thank you very much in advance... :(

It's really not a good idea to get Eclipse from anywhere but
eclipse.org. Modern Eclipse has a better system of updating than you're
going to get from a Linux distro. Very likely, you've succeeded in
back-rev'ing Eclipse unless you got it from the distro originally.

You may need to download and install a proper Eclipse, then import your
existing projects into (new) workspaces if you can't get the old
workspaces to function.

Best of luck.
Previous Topic:Juno release to general public
Next Topic:Java Object Question
Goto Forum:
  


Current Time: Wed Aug 20 14:32:26 EDT 2014

Powered by FUDForum. Page generated in 0.01518 seconds