Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 44112 - [Workspace] files erased unpredictably
Summary: [Workspace] files erased unpredictably
Status: RESOLVED DUPLICATE of bug 44106
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 20:46 EDT by Rebecca Shapley CLA
Modified: 2004-10-28 16:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Shapley CLA 2003-10-02 20:46:59 EDT
I've had two frustrating experiences with files unpredictably being erased from the workspace. In 
both cases they are erased entirely, not just removed to the trash. In one case the file was a java 
file outside of the project. When I deleted the project, I expected it to delete only files in the 
project, but this other java file was erased, too.  In the second case, I had a .txt file that I created 
within Eclipse as part of a project. I experimented with using an alias to another folder in order to 
locate the workspace within my user folder, where I would know to back it up. Eclipse didn't like 
this, so I moved the workspace folder back & removed the alias. However, somewhere in this 
process eclipse re-built its understanding of the project, and entirely deleted this text file, My java 
files were fine.
Comment 1 Dorian Birsan CLA 2003-10-02 21:39:25 EDT
I am not sure what the proper component this for, so please re-route it there 
is a better choice.
Comment 2 Andre Weinand CLA 2003-10-03 04:49:18 EDT
If you want to place your workspace into your user folder, you can do so by editing
the command line arguments passed to Eclipse.

Here is how:
- shutdown Eclipse
- select the Eclipse application in Finder
- from the context menu do a "Show Package Contents"
- open the "Contents" folder
- open the Info.plist file with your favorite text editor
- edit the line:
		<string>-data</string><string>workspace</string>
   to
		<string>-data</string><string>~/workspace</string>
  (or any other Unix-style path)
- if you already have a workspace inside Eclipse, move it to your home folder
- start Eclipse
Comment 3 John Arthorne CLA 2004-10-28 16:48:35 EDT
Eclipse deletion used to traverse symbolic links, but it no longer does.

*** This bug has been marked as a duplicate of 44106 ***