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 221758 - Cannot exclude compilation unit from build (managed project)
Summary: Cannot exclude compilation unit from build (managed project)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: REGRESSION
Depends on:
Blocks: 221537
  Show dependency tree
 
Reported: 2012-11-08 18:47 UTC by Alexander Simon
Modified: 2012-11-10 03:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-11-08 18:47:43 UTC
Steps to reproduce:
- create quote sample
- exclude some compilation units from build in the Debug configuration
- restart IDE
Actual behavior:
- excluded compilation units are included in build in the Debug configuration
Expected behavior:
- excluded compilation units are excluded from build in the Debug configuration
Comment 1 mariusz_m 2012-11-08 18:58:54 UTC
Proposal: ability to exclude from build a whole directory or multiple items at once. On my case example - 4 targets in single project (application and library, debug and release), I must click-and-exclude more than 20 files one by one.
Comment 2 Leonid Lenyashin 2012-11-08 19:15:04 UTC
(In reply to comment #1)
> Proposal: ability to exclude from build a whole directory or multiple items at
> once. On my case example - 4 targets in single project (application and
> library, debug and release), I must click-and-exclude more than 20 files one by
> one.

There is already a request like this.
Comment 3 Alexander Simon 2012-11-09 08:43:54 UTC
It is a showstopper for 7.3 beta 2.

For example:
- create Pi sample.
- restart IDE
- cannot build sample.
Comment 4 Alexander Simon 2012-11-09 11:29:18 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/5c998acccb85
Comment 5 Alexander Pepin 2012-11-09 13:30:44 UTC
The testcase with Pi sample should be included into testbase (could require additional infrastructure changes to restart IDE).
Comment 6 Quality Engineering 2012-11-10 03:26:24 UTC
Integrated into 'main-golden', will be available in build *201211100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5c998acccb85
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #221758 Cannot exclude compilation unit from build (managed project)