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 190242

Summary: Create project from existing sources could have more defaults
Product: java Reporter: locked <locked>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal Keywords: PLAN
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description locked 2010-09-08 14:50:45 UTC
Given a Java project with the following (standard?) structure

When creating a new Java project with existing sources, the dialog already marks the checkbox "Use Dedicated Folder for Storing Libraries" (great!),

Next > Existing Sources
It would be nice if Nb could check IF there is a src and test folder and add them automatically to the 2 textfields for "Source package Folder" and "Test Package Folder"

Finish > Project does not compile :-( 
Reason: you still need to go to the project's properties > Libraries > and add the Jars manually.

I would assume that "[x] Use Dedicated Folder for Storing Libraries" would already cause an auto-import of the JARs in the lib-folder.

## Proposed solution:
Actually, for such a standard(?) structure, I would assume, it should be enough to use
"New Project with Existing Sources" > next
Give a project name and Folder, 
[x] use dedicated libs foler > FINISH