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.

Bug 132577 - create project on checkout not working
Summary: create project on checkout not working
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 21:12 UTC by axh
Modified: 2014-06-05 12:20 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description axh 2008-04-10 21:12:42 UTC
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.
Comment 1 axh 2008-04-10 21:38:05 UTC
I forgot to mention: Same problem for CVS and SVN.
Comment 2 novakm 2008-04-14 07:35:41 UTC
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...
Comment 3 axh 2008-04-14 11:00:28 UTC
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.
Comment 4 axh 2008-04-17 19:19:25 UTC
Since no PHP plugin is available for 6.1, there's no way to try out yet.
Comment 5 Peter Pis 2008-09-17 14:37:26 UTC
Could you please try PHP part now?
Comment 6 axh 2008-10-08 09:39:05 UTC
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.
Comment 7 Peter Pis 2008-11-11 10:20:55 UTC
Reassigning and changing to enhancement.