Community
Participate
Working Groups
The CrossReferencer.getImports(Resource) method does not return all imported resources. It returns only resources that have already been loaded. Thus, this API is not useful for determining which other resources are referenced by a given resource (e.g., for dependency analysis). The cause of the problem is in the the fact that the setTarget() method does not handle proxies: their eResource() is null. In fact, proxies readily provide import information because their URIs indicate the imported resource.
This bug got moved to 2.0 yet has severity major. Please comment.
Sorry, I should have updated this one earlier, as we managed to work around the problem in our application. On further reflection, it seems that this will be a larger undertaking, requiring significant redesign of the cross-reference adapter. It may even be more appropriate to do this in EMF. Let's identify this as an enhancement.
Not yet assigned to a release (assigned to a milestone with the Plan keyword). Moving to the next release, GMF 2.1.
[GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug