Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Re: Eclipse Not Really Saving File Changes
Re: Eclipse Not Really Saving File Changes [message #73857] Mon, 23 June 2008 18:03
Eclipse UserFriend
Originally posted by:

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,
Previous Topic:PDT (1.0.3) with X-Debug (2.0): Variables view
Next Topic:Refreshing duplicate resources error when initializing compare editor
Goto Forum:

Current Time: Wed Feb 01 17:07:18 GMT 2023

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

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

Back to the top