This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 366987 - [Facet] Support annotation-based exclusion for Facets
Summary: [Facet] Support annotation-based exclusion for Facets
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Facet (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-16 16:35 EST by Navid Mehregani CLA
Modified: 2012-01-16 09:51 EST (History)
0 users

See Also:


Attachments
Patch (4.25 KB, patch)
2011-12-23 05:14 EST, Alena Repina CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2011-12-16 16:35:31 EST
Build Identifier: 

At the moment, Facets support stereotype-based exclusion.  There is a need to support annotation-based exclusion as well.

To test this feature, annotate a few attributes from a referenced TS module > specify annotation in facet > make sure annotated attributes are excluded from generation

Reproducible: Always
Comment 1 Alena Repina CLA 2011-12-23 05:14:41 EST
Created attachment 208769 [details]
Patch

Fixed.

The patch changes FacetPredicate to take into consideration annotation-based exclusion during resolving artifacts.
UI wasn't changed because there already was UI to define annotation-based exclusion (please, see Facet editor, Annotation Scope Details section, table "Annotations excluded patterns:").
Comment 2 Navid Mehregani CLA 2012-01-04 14:24:49 EST
Please see comment in internal defect.
Comment 3 Navid Mehregani CLA 2012-01-16 09:51:30 EST
Verified. Thanks!