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 - Create project from existing sources could have more defaults
Summary: Create project from existing sources could have more defaults
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 3 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2010-09-08 14:50 UTC by locked
Modified: 2012-02-24 09:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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
/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