What is a damaged workspace?

I have been working on an Android project in Eclipse Indigo for a year on a PC on which updates are disabled and new software is not installed (intentionally, to avoid any instability in the Java environment or other installed software).

This morning, Eclipse froze, and when I killed it in Task Manage, rebooted the computer and restarted Eclipse, it could not start, saying

"Eclipse failed, Java was started, but returned exit code = -805306369"

I originally discovered it here.,.
http://spacetech.dk/eclipse-failed-java-was-started-but-returned-exit-code-805306369.html

. that this is due to a “damaged workspace”. And I have to rename the workspace, create a new empty one and import the old project into it.

1. What exactly does “damaged work area” mean? Is there a file that is missing or damaged or locked? Is it possible to debug "corruption"? There were no disk issues in chkdsk. I have never seen this in Visual Studio with C # projects, and I am more developing Windows than Android.

2. What is the process of importing an old project into a new workspace and how can I do it without importing corruption? This is a large project with hundreds of files, so I do not want to try to recreate it manually.

+6
source share
1 answer

A workspace is a collection of configuration files and your projects, although projects may also exist outside the workspace. The configuration files for most of the eclipse plugins that you have installed, I suspect one of them is causing the problem.

The configuration is stored in a hidden folder in the workspace named .metadata, as well as a log file in this folder named .log. This log file can give you more information about what is broken.

You can delete (or move it somewhere else), the .metadata folder and eclipse will recreate it the next time you start it. Then you will need to reimport your projects and configure eclipse again.

In reimport your projects, use the import wizard from the menu item "File → Import". Select the wizard "General → Existing projects in the workspace". Now click on the Browse button and find your projects. Select the projects you want to import and click Finish. Now your workspace should contain your projects again.

0
source

All Articles