views:

55

answers:

1

I am trying to learn how to use Eclipse Helios PDT, but I don't understand how one gets the files from their workspace to the server. The PDT documentation is painfully sparse.

I have my workspace in /home/bob/workspace and my local dev webroot is /home/bob/public_html.

If I set up a run configuration for my php project I see where I can set up the path to the server, etc, but I do not see any obvious way to auto copy the files to my webroot to actuallly run the project. If I click on run, I just get a 404 in the browser.

With NetBeans, for instance, you can configure a PHP project to copy on save to a local webserver, FTP to a server, etc. Does PDT not have some sort of similar functionality?

A: 

I'd recommend that you don't actually set up FTP/SFTP and instead use source control to push files to your production server: Git/GitHub, Subversion/Google Code, etc. You'll also get the side benefit of being able to log/diff/revert, and you'll remove the temptation to make a quick hack on the server that isn't reflected in your local files.

Jeff Standen