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 199995 - When creating a project using existing sources, try to add libraries automatically
Summary: When creating a project using existing sources, try to add libraries automati...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 17:39 UTC by lvskiprof
Modified: 2016-07-07 08:39 UTC (History)
1 user (show)

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 lvskiprof 2011-07-08 17:39:13 UTC
I am trying to create a project using the Selenium sources downloaded from code.google.com, so I have to create the Java project using exiting sources.  Once that is done I get red flags on most of the sub-directories due to imports that are unresolved.

I then have to go through each one, add the needed library/libraries for that module, click OK, and wait for scanning projects to complete to verify that I chose the right one(s).  Then it starts all over again with the next one, assuming I didn't chose the wrong one or don't need some additional ones for the module I am trying to resolve the imports for.

Netbeans has the list of known libraries.  It should at least offer to scan them and add the needed libraries.  In cases where more than one library could resolve the import statement, where you have more than one version for example, it should let you make the choice between the different versions manually.

This would greatly aid in building a project using existing sources.

It would even be useful if there was a "Find Library" button in the Project Properties page for handling library addition and removal.  This is not just a Java situation, but would apply also to C, C++, etc.
Comment 1 Martin Balin 2016-07-07 08:39:17 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss