Community
Participate
Working Groups
This bug is a follow-up to bug 300671. Complete the steps outlined in http://eclipse.org/tptp/platform/documents/resources/models/TPTP_Model_Generation.html#3.0 to setup and load the TPTP Trace model. When validating the trace.ecore, there are warnings displayed regarding proxy resolving. As a result of the warnings, the model cannot be generated as the editor will not open. This bug is for implementing solution 2 in bug 300671 comment 6 to allow for model code generation.
Created attachment 184727 [details] Patch for org.eclipse.tptp.platform.models Updates the attributes and their opposites to not resolve proxies. The attributes updated are those listed in bug 300671 comment 6: TRCMethodInvocation.method (<-opposite-> TRCMethod.invocations) TRCObject.isA (<-opposite-> TRCClass.objects) TRCObjectReference.owner (<-opposite-> TRCHeapObject.refOwner) TRCObjectReference.target (<-opposite-> TRCHeapObject.refTarget)
Created attachment 184742 [details] Patch for org.eclipse.tptp.platform.models.hierarchy Fix for a Class cast error reported in org.eclipse.tptp.platform.models.hierarchy.
Patch looks good.
Thanks Jonathan! I have tested with TPTP Profiling (Execution and Memory Analysis), TPTP JUnit and TPTP URL test. Comparing the output of a saved profiling Memory Analysis session there are no noticeable differences. The patch for org.eclipse.tptp.platform.models has been checked into HEAD. The patch for org.eclipse.tptp.platform.models.hierarchy is not checked in, as another workspace did not report the Class cast problem.
Resolving.
Closing.