Page 1 of 1

Eclipse with PHPIDE - files and directories

Posted: Fri Dec 15, 2006 12:25 pm
by Luke
This has only been happening since using Eclipse with PHPIDE, but it may be my own stupidity. I don't know filesystems very well....

I have a directory with this in it:
Driver
Interface.php

When I iterate over it looking for directories, it finds "." and ".." but not "Driver"... why?

Posted: Fri Dec 15, 2006 2:39 pm
by RobertGonzalez
Iterate over it in PHP?

Posted: Fri Dec 15, 2006 2:42 pm
by Luke
yup

Posted: Fri Dec 15, 2006 2:56 pm
by RobertGonzalez
So why not post some code in the PHP Code forum? Image

Posted: Fri Dec 15, 2006 7:52 pm
by Jenk
The files/folder will be in your workspace directory, which is a PITA I agree.

When you create a project, do not import.. that will copy everything into the workspace dir and not work from your web folder. Which is better for code control, but meh..

Posted: Sat Dec 16, 2006 7:24 am
by RobertGonzalez
Because of an issue I had with Eclipse opening Zend Studio on every movement inside of Eclipse, I changed the project root folder to the web server root, then refreshed the file listing. Bing, I was in.

But strangely this does not sound like the problem you are having.