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 139012 - "Add local sources" could be improved by allowing directories
Summary: "Add local sources" could be improved by allowing directories
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 10:11 UTC by malakim
Modified: 2008-07-04 11:05 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 malakim 2008-07-04 10:11:43 UTC
The option for adding local sources to a project dependency ("Library") could be improved by allowing the user to specify a directory instead of a JAR or ZIP 
file. Is there any reason I can't select a local folder that contains the source code for a library my project depends on?
Comment 1 malakim 2008-07-04 10:13:18 UTC
Note: my project is a Maven project - I don'tknow if the same rules apply to "normal" NetBeans projects.
Comment 2 Peter Pis 2008-07-04 10:58:36 UTC
Reassigning to "maven".
Comment 3 Milos Kleint 2008-07-04 11:05:36 UTC
maven project dependencies' sources are expected to be present in local/remote repositories in jar files. As created per
the sources:jar goal.
the maven support will only look in the local repository for the sources artifact based on the identification of the
binary artifact. The IDE is not keeping any data structures for finding sources.

Supporting folders as sources for dependencies is not planned.