[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Eclipse Not Really Saving File Changes

Karen C wrote:
I have been using Eclipse PDT to develop and edit a large PHP/MYSQL application for several months now. Things have been great, Eclipse Rocks!

I had to create a new PHP project (we won't go into why I lost the old one) and used Drag and Drop to load the files from localhost into the workspace in Eclipse.

So the actual live files are located at : C:\inetpub\wwwroot
The workspace file are located at : C:\Documents and Settings\Administrator\OPM_Workspace\OPM3


If I edit a file from within Elipse, the file appears to save without error... the little asterisk by the file name disappears. The reality is that the live files in C:\inetpub\wwwroot did not really change.
Now if I want to develop this app in Eclipse, I am having to maintain two different sets of files... (Bleh!)

When you dropped the files into Eclipse, you got copies of them in your Eclipse workspace; it is those files that are being modified. I'm not sure why you would expect anything different - it would be quite counter-intutitive (to me) for Eclipse to have somehow made "links" to the original files.
In any case, I don't know if PDT has any special features to support what you want, but in general you could use a linked directory in your Eclipse project that points to the "live" location. In your project, when you create a Folder, click the Advanced button to see the option for creating a linked folder. Also, in the Help contents, navigate to the page Workbench User Guide > Tasks > "Working with projects, folders and files" > "Creating linked resources"


Hope this helps,
	Eric