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 150561

Summary: Not able to create Java Project with Existing Sources if Automatic Projects module is present
Product: java Reporter: Tomas Mysik <tmysik>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WONTFIX    
Severity: blocker CC: jglick
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2008-10-17 16:21:03 UTC
Steps to reproduce:
- install Automatic Projects module
- try to create Java Project with Existing Sources for some Java files with existing build.xml file (jsch library in 
my case)
- wizard complains that the directory is already NB project (but it isn't in fact)

Workaround:
- disable/remove Automatic Projects module

Product Version: NetBeans IDE 6.5 RC1 (Build 200810170201)
Java: 1.6.0_07; Java HotSpot(TM) Server VM 10.0-b23
System: Linux version 2.6.26-gentoo-r2 running on i386; UTF-8; cs_CZ (nb)
Comment 1 Tomas Zezula 2008-10-17 17:18:54 UTC
I have completely no idea how to force the auto project not to recognize the project folder.
Jesse, have you any idea what to do?
Comment 2 Jan Lahoda 2008-10-17 17:29:24 UTC
The same situation as in issue #149885, IMO.
Comment 3 Jesse Glick 2008-10-17 22:39:42 UTC
Right, essentially the same as issue #149885; the j2seproject wizard is being too aggressive. (There was already a
similar fix for 6.5 made in the Eclipse importer.)
Comment 4 Jesse Glick 2009-10-21 23:24:03 UTC
Lower priority since autodetection of projects based on build.xml is off by default.
Comment 5 Martin Balin 2016-07-07 07:16:48 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss