|
Re: Change launch directory for all files at once [message #1090815 is a reply to message #1090804] |
Tue, 20 August 2013 17:19 |
|
On 8/20/2013 11:06 AM, Mike Bonhoff wrote:
> Hallo,
>
> when I launch a PHP program Eclipse always asks me where I want to launch the file. I don't know why Eclipse asks me that question. Because in the editor window Eclipse is able to display the code of the file so it must be able to locate it. The file is located /var/www/mediawiki-1.16.5/KE/datenbankanfrage.php. And every time I want to run a file inside that KE-folder he offers me the possiblity localhost/KE/datenbankanfrage (localhost is the same as /var/www) as shown in the first attached screenshot.
>
> But the location should be localhost/mediawiki-1.16.5/KE/datenbankanfrage as shown in the second attached file.
>
> So I always have to change that for every file I want to run inside that KE-project (=KE-folder) again. Isn't there a possibility to change that directory in a central place. The Run->Rund Configurations...-settings gives me the possibiliy to change the directory for a file. But there are only those files shown on the left side which I ran before (shown in the 3rd attached screenshot).
>
> I think I made some bad settings when I used Eclipse earlier but I thought those settings (like telling which folder to use) could be changed later.
>
> I have googled the problem but I didn't find an answer to the question (in the case of one google query I found a post where someone wanted to run the same file by just using a shortcut).
>
> Is there a possibity to declare the folder only once.
> Thank you for every help!
This is more of a PHP-slanted question. You'll likely get quicker or
even better help in the Eclipse PDT forum.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08741 seconds