| Summary: | EMF trace model can't be updated | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Alexander N. Alexeev <analexee> | ||||||
| Component: | TPTP | Assignee: | Alex Nan <apnan> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P1 | CC: | analexee, apnan, mikhail.sennikovskiy, rohit.shetty, slavescu | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | closed460 | ||||||||
| Attachments: |
|
||||||||
|
Description
Alexander N. Alexeev
Created attachment 85285 [details]
window with error 1
Created attachment 85286 [details]
window with error 2
Alex, can you look into this please Fixed. Alex, I still can't open trace.genmodel with "EMF generator", even if I reloaded it from org.eclipse.tptp.platform.models/src-trace/model/trace.ecore Error shown in "EMF Generator" view is similar to "window with error 2" attach. Thanks, Alexander. Alexander, how are you trying to reload the model. Have you refreshed both plugins org.eclipse.tptp.platform.models and org.eclipse.tptp.platform.models.hierarchy from CVS? I was able to open the trace.genmodel file in the EMF generator editor without any problems. I was also able to load it from the rose model. There are indeed some errors when you reload from rose but Marius assured me this is becuase the rose model is out of synch with the genmodel. If you need to do model changes you need to do them directly on ecore. Alexander, how are you trying to reload the model. Have you refreshed both plugins org.eclipse.tptp.platform.models and org.eclipse.tptp.platform.models.hierarchy from CVS? I was able to open the trace.genmodel file in the EMF generator editor without any problems. I was also able to load it from the rose model. There are indeed some errors when you reload from rose but Marius assured me this is becuase the rose model is out of synch with the genmodel. If you need to do model changes you need to do them directly on ecore. Rohit can you please work with Marius on this issue. As I said in my previous comment I cannot reproduce Alexander's problem, but make sure the issue is clarified. (In reply to comment #5) > Alex, I still can't open trace.genmodel with "EMF generator", even if I > reloaded it from org.eclipse.tptp.platform.models/src-trace/model/trace.ecore > Error shown in "EMF Generator" view is similar to "window with error 2" attach. > > Thanks, > Alexander. > There is some new behavior in the EMF 2.4 ecore editor/generator which triggers these problems. It would be better to use EMF 2.2 SDK to generate the code until all the problems with EMF 2.4 SDK are fixed. You'll get a few compile errors, which needs to be fixed manually. In EMF 2.4 SDK ecore editor the errors from ecore editor can be ignored for now, just switch to the Generator view (see the tab at the bottom of the editor) and do regen (which fails because of some ignorable naming problems, those were not blocked in EMF 2.2 generator and they could be fixed easily manually afterwards). Please open a new defect with a lower severity for the remaining model problems (which existed before the plugins refactoring) when using EMF 2.4 SDK, and this defect will require attention from the Platform.Model component owner because Alex Nan cannot fix those problems. This defect can be closed because Alex Nan fixed the path problems related with the plugin refactoring. (In reply to comment #6) > Alexander, how are you trying to reload the model. Have you refreshed both > plugins org.eclipse.tptp.platform.models and > org.eclipse.tptp.platform.models.hierarchy from CVS? I was able to open the > trace.genmodel file in the EMF generator editor without any problems. I was > also able to load it from the rose model. There are indeed some errors when you > reload from rose but Marius assured me this is becuase the rose model is out of > synch with the genmodel. If you need to do model changes you need to do them > directly on ecore. > The problems that show up when you load from Rose model are not because the Rose model is out of sync, and those are ignorable problems. To see the differences between Rose and ecore, reload from Rose model and then compare with the new ecore with the current ecore from CVS HEAD. If you'd like to go back to the Rose model and do edits in that form you will need Rational Rose 2005 (if I remember correctly, that's the latest version that I used on the Rose models). The reason why I was able to reload is that in my development workbench I have EMF2.2.x, I didn't try with 2.4.0. That was the obvious next question to ask Alexander. Thanks Marius for the update. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |