Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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 --- QA Contact: issues <issues.netbeans.org>
Priority: P3 Keywords: PLAN
Version: 6.x   
Target Milestone: 7.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:

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

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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo