Bug 190242 - Create project from existing sources could have more defaults
Create project from existing sources could have more defaults
Status: NEW
Product: java
Classification: Unclassified
Component: Project
PC Windows XP
: P3 with 3 votes (vote)
: 7.2
Assigned To: Tomas Zezula
Depends on:
  Show dependency treegraph
Reported: 2010-09-08 14:50 UTC by locked
Modified: 2012-02-24 09:35 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo