|
Re: Associate a .php file with a project [message #81150 is a reply to message #81105] |
Sat, 04 October 2008 04:05 |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
Is the .php file IN a project?
If not, create one, then copy/move the file into it.
If so, and the project doesn't have the PDT nature, you can add it:
http://wiki.eclipse.org/PDT/FAQ#How_do_I_convert_an_existing _project_to_use_PDT.3F
Nick
Christopher Glaeser wrote:
> Just getting started with Eclipse and PDT. I can execute and debug an
> open .php file using the right-click Debug As->PHP Script, but when I
> click on the bug icon, Eclipse opens and executes another .php file.
> Apparently, I need to associate the .php file with the project, but I'm
> not sure how to do that. Am I explaining this sufficiently? Any
> suggestions or hints?
>
> Best,
> Christopher
>
>
|
|
|
|
Re: Associate a .php file with a project [message #81689 is a reply to message #81427] |
Sun, 12 October 2008 06:28 |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
Try Window > Preferences > Run/Debug > Launching > Launch Operation >
(*) Launch the selected resource > (*) Launch the associated project
Run As and Debug As are launched the same way.
Christopher Glaeser wrote:
>> Is the .php file IN a project?
>
> Sorry for being so dense, but I don't know what IN means. I have several
> project test folders, each contains a .project file and a .php file. I can
> execute any of the .php files by opening it and using right click RunAs, but
> I can't figure out how the Bug icon is linked to a particular project and
> .php file. When I click on the bug icon, it randomly (from my point of
> view) executes one of the other .php files, not the one that I currently
> have open and in view. How is the Bug icon associated with a particular
> project and .php file?
>
> Best,
> Christopher
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03212 seconds