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 160247 - Inclusion/Exclusion filters per source root.
Summary: Inclusion/Exclusion filters per source root.
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 10:31 UTC by elishae
Modified: 2009-06-19 15:31 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 elishae 2009-03-13 10:31:30 UTC
Netbeans is lacking ability to configure inclusion/exclusion filters per source root.

Current functionality of Netbeans is to have a *global* inclusion/exclusion filters.

This would be considered a serious limitation when trying to import Eclipse projects. Especially when the project being
imported contains source-root-specific inclusion/exclusion filters.
Comment 1 Jesse Glick 2009-06-09 18:24:42 UTC
Not solvable in an Eclipse importer, since NB Ant-based projects (intentionally) do not support per-root filters. Could
be solved in a direct Eclipse project loader.
Comment 2 elishae 2009-06-19 14:17:36 UTC
Will this be addressed in 6.8?
Comment 3 Jesse Glick 2009-06-19 15:31:47 UTC
No, in fact I don't think this will be changed ever, for the reasons already outlined. NB j2seproject's simply do not
have interchangeable semantics with Eclipse Java-nature projects; an import can only ever be an approximation to get
things started.

More serious Eclipse support would require directly opening Eclipse projects from their metadata (the way we do with
Maven) - which is certainly an option, but much too big of a project to be considered for 6.8.

If you have an application with such distinct source roots that they require separate filters, the better way to manage
this in NetBeans is with a set of projects with some interdependencies. Without knowledge of your actual project setup I
cannot offer more detailed advice.