Community
Participate
Working Groups
Build Identifier: eclipse: 20090920-1017, Tigerstripe AF: 0.5.0.201001251616 Sometimes, no any annotation storage file generated right after we enable (=install an annotation plug-in and restart Tigerstripe) and apply the annotation to an artifact of a Tigerstripe model. It is not easy to re-produce these cases. It seems that some preconditions or the order of operations cause the insufficient initialization of Tigerstripe Annotation Framework and the annotation plug-in, and result in the absence of annotation storage file. Reproducible: Sometimes
Actually all annotation plug-ins activate when you open Annotation Property View. So when you add annotation all plug-ins should be already activated. The only operations which can delay storage file creation are workspace operations (like workspace building). Could you please check that there is no long building process which block workspace? Also could you please check that annotation you created should be stored in the annotation file you expect? I.e. it's not created in a workspace metadata.
Hi, I checked again, following your suggestions. 1. I deploy a new annotaion plugin into eclipse, then restart eclispe 2. then I applied an annotation to an entity artifact of a Tigerstripe model project. The "Annotation Property View" shows the value. but no 'annotations' folder generated under the root of the model project, and no storage file found in eclipse workspace metadata folder. No long term process observed. 3. then I restart the eclipse. Still can see the annotation value in the 'annotaion property view', still no storage file found (in model foler and in metadata folder). No long term process observed. 4. then I change the annotation value in that view, still no storage file found (in model foler and in metadata folder) 5. In fact, sometimes the storage file can be generated under the 'annotations' folder. but in my eviroment, whether or not be successful seems by chance.
by the way, In previous experiment, before and after I apply the annotation to the entity, no any error found in the "Erro Log" view.
I opened eclispe consoleLog, In previous experiment, before and after I apply the annotation to the entity, no any log found in the console log.
Hi Justin, Please try to close eclipse after your second step. Then open following file: <workspace_dir>/.metadata/.plugins/org.eclipse.tigerstripe.espace.resources/resources.xml In this file you will find references to all resources which was registered as annotation storage files. All annotations you will see after restart should be stored in the files from this list or in the defaultStorage.xml file.
Hi, I changed the importance to a lower level, and please note that TMF Shared Interface Infrastructure team has recently decided the team will not use the Annotation Framework in next release of tooling, that is, the team will keep using stereotypes. best regards, Jinzhai
I'm unable to reproduce this issue. Annotation storage file is always created. The only thing I have problems with are the files created under <workspace_dir>/.metadata/.plugins/org.eclipse.tigerstripe.espace.resources/ That's being fixed under another defect. Please reopen with more details if you're still able to reproduce this issue.