This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have existing sources for a project (but no netbeans project) in CVS. I can check out from CVS by using "Versioning/CVS/Checkout...". Then, netbeans asks me "Do you want to create an IDE-project for the checked-out sources?". I click on "Create Project...", and chose a project type. Now, when I enter the same name as project name under which I checked out my sources, netbeans tells me "the project folder exists and is not empty" and refuses to proceed. And if I enter another name, project creation works, but the sources are not included in the newly created project. I had this problem with both a php and a Java project.
I forgot to mention: Same problem for CVS and SVN.
Was this project created by netbeans and are all its files in repository? I encountered this behavior only when something was missing from the NB project infrastructure...
No, both projects (PHP and Java) were not created by netbeans (that's what I meant by "but no netbeans project"). Both were actually eclipse projects, and by clicking on "Create Project...", I wanted to generate new netbeans projects with the existing sources. However, I downloaded the newly released 6.1 RC at home, and got the Java part to work. I will try to do the same with the PHP project as soon as I find the time. I will let you know if it works in the new version.
Since no PHP plugin is available for 6.1, there's no way to try out yet.
Could you please try PHP part now?
The PHP part works in NB 6.5 Beta and in the latest (200810041417) development snapshot. However, I think some usability issue remains: When I checkout my php files from CVS, I'd think it should be sufficient to tell the project type (PHP). Why do I have to choose between "PHP Application" (which works) and "PHP Application with Existing Sources" (which doesn't)? Since I just checked out the files, the sources are there, so the wording is misleading. Java still does not work as expected.
Reassigning and changing to enhancement.