Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Project root on webserver
Project root on webserver [message #61127] Sun, 18 November 2007 14:26 Go to next message
Eclipse UserFriend
Originally posted by: sarmadysNOTTHIS.NOTTHISgmail.com

Hello,

I have configured a server root (e:\www\eclipse).

Now every time I want to run a php file belonging to a project (project
proj1 for example), eclipse wants to publish it to the main server root
instead of e:\www\eclipse\proj1.

How can I avoid files being published to server root.

Thank you very much for your time.

Mac
Re: Project root on webserver [message #61583 is a reply to message #61127] Fri, 23 November 2007 20:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hfallahnia.yahoo.com

In "Debug Dialog", when you create a new php server, you can clear the
check box that says "Publish files to Server".
The best way to go in my opinion is to put the project files inside your
document root folder, not in your workspace. Then you don't need any
publishing. However, if you choose to have your project files somewhere
other than doc-root, you still can give the destination folder of your web
root in "Publish To" text box. If you are using another computer as
server, the best way would be using a map drive (SAMBA if your server is
Linux).
Re: Project root on webserver [message #61606 is a reply to message #61583] Sat, 24 November 2007 10:23 Go to previous message
Eclipse UserFriend
Originally posted by: sarmadysNOTTHIS.NOTTHISgmail.com

Hamed, Thanks. Yes, it seems the best way is to build the project in
desired place from the beginning.

Nice to meet you, by the way :)

Siamak

Hamed wrote:
> In "Debug Dialog", when you create a new php server, you can clear the
> check box that says "Publish files to Server".
> The best way to go in my opinion is to put the project files inside your
> document root folder, not in your workspace. Then you don't need any
> publishing. However, if you choose to have your project files somewhere
> other than doc-root, you still can give the destination folder of your
> web root in "Publish To" text box. If you are using another computer as
> server, the best way would be using a map drive (SAMBA if your server is
> Linux).
>
>
>
Previous Topic:How to get Eclipse to tell me if PHP variable is used or not
Next Topic:PHP Builder hangs Eclipse at Startup
Goto Forum:
  


Current Time: Thu Apr 25 22:36:32 GMT 2024

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

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

Back to the top