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 195254

Summary: Create new projects without a test folder
Product: javaee Reporter: Jesse Glick <jglick>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: normal CC: arungupta, mmirilovic, pjiricka
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 196597    
Bug Blocks:    

Description Jesse Glick 2011-02-09 21:33:03 UTC
Due to the fix of bug #102711 the test folder will be created on demand for an Ant-based project when first adding a unit test via wizard. There is no need to add JUnit library dependencies to the project since those will be added by the JUnit wizards. You do need the define the test root and its location in project.{xml,properties} - just don't actually make the folder.
Comment 1 Jesse Glick 2011-02-10 00:41:09 UTC
Done for j2seproject's. (Class Library & Application, sharable or not; From Existing Sources if no test folders specified.) Did not bother doing it for "Desktop Application" which is semideprecated anyway. Needs to be done for EE project types. core-main #de5b8655fc3d
Comment 2 Quality Engineering 2011-02-10 11:29:58 UTC
Integrated into 'main-golden', will be available in build *201102100500* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/de5b8655fc3d
User: Jesse Glick <jglick@netbeans.org>
Log: #195254: when creating a new project, do not give it a test folder or JUnit dependencies.
Comment 3 David Konecny 2011-02-16 21:30:13 UTC
Done for EE project types: 33cf725b7471
Comment 4 Quality Engineering 2011-02-17 11:00:23 UTC
Integrated into 'main-golden', will be available in build *201102170501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/33cf725b7471
User: David Konecny <dkonecny@netbeans.org>
Log: #195254 - Create new projects without a test folder
Comment 5 David Konecny 2011-02-24 19:48:49 UTC
*** Bug 195964 has been marked as a duplicate of this bug. ***