This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 348229 - [Facet] Changes to facet are not automatically picked up
Summary: [Facet] Changes to facet are not automatically picked up
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 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 11:21 EDT by Navid Mehregani CLA
Modified: 2011-06-27 11:34 EDT (History)
1 user (show)

See Also:


Attachments
Attached generator project (1.99 KB, application/octet-stream)
2011-06-03 11:33 EDT, Navid Mehregani CLA
no flags Details
348229 patch (3.12 KB, patch)
2011-06-10 03:09 EDT, Anton Salnik 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-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!!