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 192889 - J2ME Project configuration and sources filtering
Summary: J2ME Project configuration and sources filtering
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 09:34 UTC by sowrov
Modified: 2012-04-16 12:29 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 sowrov 2010-12-05 09:34:22 UTC
A Mobility projects can have multiple configuration base on different platforms. In one configuration some sources may needed which maybe unnecessary for another configuration. At this moment we can exclude specific sources from a specific configuration by deselecting them from "Project Properties->Build->Sources Filtering". Everything works ok except the 'Project Tree' shows compile error sign on filtered out (unrelated) sources! 
Lets say I have 2 configurations 'ConfA' and 'ConfB', from ConfA I filtered out the source 'X.java' as it is just necessary for 'ConfB'. Now, while I am working on the 'ConfA' I don't need to be concern about any error on that 'X.java' file. In fact it would be better if that X.java file were not visible in the project tree when 'ConfA' is active or at least no error sing (red [!]) on the project tree. This is kind of annoying.
Comment 1 Adam Sotona 2011-01-18 15:01:11 UTC
Yes, this is known behavior. We should implement a config-sensitive project tree badging.