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

Bug 348229

Summary: [Facet] Changes to facet are not automatically picked up
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: FacetAssignee: Project Inbox <tigerstripe.facet-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Attached generator project
none
348229 patch none

Description Navid Mehregani CLA 2011-06-03 11:21:18 EDT
Build Identifier: 

If a Tigerstripe model project references a Facet and the Facet is modified, the changes are not picked up unless user removes Facet references and adds it back in.

Reproducible: Always

Steps to Reproduce:
1. Create a TS project with an Entity under com.mycompany package
2. Import attached generator project, which simply prints out entity names in a model project
3. Deploy generator and run it against your model.  A file should be generated indicating the entity name
4. Now create a facet in your model project with the following entry under 'Excluded patterns': com.mycompany.*
5. Open tigerstripe.xml file > switch to Facets tab > Add facet to project
6. Run generation again > file is not created, which is GOOD.
7. Now open the Facet, remove the entry added under Excluded patterns.  
8. Run generation again > notice the appropriate file is not created again.  If you remove and re-add facet reference, it'll work again.
Comment 1 Navid Mehregani CLA 2011-06-03 11:33:29 EDT
Created attachment 197309 [details]
Attached generator project
Comment 2 Anton Salnik CLA 2011-06-10 03:09:37 EDT
Created attachment 197754 [details]
348229 patch
Comment 3 Yuri Strot CLA 2011-06-14 05:34:39 EDT
Done.
Comment 4 Navid Mehregani CLA 2011-06-27 11:34:43 EDT
Verified. Thank you!!