| Summary: | Resources Level cross referencer | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Cedric Brun <cedric.brun> |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | laurent.goubet |
| Version: | 1.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Cedric Brun
The current implementation is here : https://github.com/cbrun/emf.compare/tree/experimental_cross_referencer_361534 I pushed a few commits. XMI fast loading support now uses a Sax Parser so that we don't have to deal with encoding. Provided a builder API to configure which content-types or file extension to crawl. I did test performances on a large workspace with thousands of models. The XMI-fast mode takes a few seconds to initialize and subsequent calls are instantaneous (yeah !) Using content-types makes things slower during the initialization (file extensions are faster to check !) Non-XMI models are supposed to work but are not tested. Loading those is, at the end of the day, more complex as it requires to have the corresponding metamodel registered and some scenarios could lead to loading linked models during the processing which should make the whole thing fail. Next step : testing this with Eclipse's CVS and EGIT integration. We'll need the same kind of enhancement for what has been done in EMF Compare 2 wrt the Team integration. |