How to open a non-Netbeans project in Netbeans?


When we create a (PHP) project in Netbeans 7, it somehow saves the directory in its own format, and later we can open the project in Netbeans. However, I have a project which I created without Netbeans, now I want to open it with Netbeans, but seems that I can not. When I "Open Project" in Netbeans, and browse to the directory, it does not not recognize the directory. So how can I open a Non-Netbeans project in it? Thanks.

Select "File" > "New Project"

Under "Categories" select "Java"

Under "Projects" select "Java Project with Existing Sources"

You'll then need to tell it which directory contains your sources and which directory contains your JUnit tests.