osate/osate2-core — Issue #42: OsateResourceUtil bug?
Author: mnam
Created: 2012-02-21 18:38:48+00:00
State: open

Quick question in the OSATE code.

Is the OsateResourceUtil suppose to be fully working?

When I use a defaultTraversalAllDeclarativeModels() on one of my switches

it eventually calls the visitWorkspaceDeclarativeModels() in AbstractSimpleTraversal and the problem is that

When it does

final EList resources = OsateResourceUtil.getResourceSet().getResources();

it gets a zero list always.

Am I suppose to do something in the OSATE environment to load up OsateResourceUtil?

Only code that uses this is the architecture ModelStatisticsAnalysis plug in and you can see that

it also shows 0 for component type declarations, 0 component implementation declarations, and so on

for any model because of this problem.

Thanks.
Sincerely,
Min Young Nam