Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366987

Summary: [Facet] Support annotation-based exclusion for Facets
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: FacetAssignee: Project Inbox <tigerstripe.facet-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch none

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!