Change launch directory for all files at once [message #1090931] |
Tue, 20 August 2013 17:18  |
Eclipse User |
|
|
|
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 wrong-directory.png (first attached file).
But the location should be localhost/mediawiki-1.16.5/KE/datenbankanfrage as shown in the right-directory.png (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-file named run-configurations.png).
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.
Remark: I posted the same question in the beginners section of the Eclipse forum (http://www.eclipse.org/forums/index.php/m/1090804/#msg_1090804) but someone told me to post here is better.
Thank you for every help!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06849 seconds