Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Generating models using EMF
Generating models using EMF [message #5824] Wed, 16 February 2005 06:31 Go to next message
No real name is currently offline No real nameFriend
Messages: 11
Registered: July 2009
Junior Member
I have been attempting to regenerate the hyades data models with minor
adjustments using the hierarchy.genmodel under
org.eclipse.hyades.models.hierarchy/src-hmodel/model.
When I attempt to open this file, I get the following error:

Problems encountered in the model
Unable to resolve proxy
'platform:/resource/org.eclipse.emf.ecore/src/model/Ecore.ec ore#//EObject'
Its use is by
'platform:/resource/library/src/model/hierarchy.ecore#//Corr elationEntry/val
ue'
Its use is by
'platform:/resource/library/src/model/hierarchy.ecore#//Corr elationEntry/val
ue'
Unable to resolve proxy
'platform:/resource/org.eclipse.emf.ecore/src/model/Ecore.ec ore#//EStructura
lFeature'
Its use is by
'platform:/resource/library/src/model/hierarchy.ecore#//exte nsions/LeftOpera
nd/feature'
Its use is by
'platform:/resource/library/src/model/hierarchy.ecore#//exte nsions/LeftOpera
nd/feature'
....


But the file still opens. I tried adding a few EClasses using
'hierarchy.ecore' and regenerated the data model using the above mentioned
file. The new EClasses are generated fine but the HierarchyPackage and the
HierarchyFactory is not updated accordingly.

Any help will greatly be appreciated.
Re: Generating models using EMF [message #5954 is a reply to message #5824] Thu, 17 February 2005 15:31 Go to previous message
Marius Slavescu is currently offline Marius SlavescuFriend
Messages: 67
Registered: July 2009
Member
Hi Nima,

The easiest way to regen the Hyades data models is to checkout/import all
the models plugins (org.eclipse.hyades.models.*) and org.eclipse.emf.ecore
plugin, make sure that all the source folders are named "src" and not
"src-*" (you'll need to rename them if you import the plugins).

If you use Rose to view/modify the models then you need to set the
HYADES_MODELS_PATH path variable to point to the Eclipse workspace folder
where you have the models/EMF projects, then open
WORKSPACE_PATH/org.eclipse.hyades.models.hierachy/src/rose/h yades-models.mdl
file. Before you reload then genmodel you need to refresh all models
projects in the workspace to make sure you captured all the changes done
externally in Rose.

Marius

"Nima M." <microbold@hotmail.com> wrote in message
news:cuueer$bdk$1@www.eclipse.org...
> I have been attempting to regenerate the hyades data models with minor
> adjustments using the hierarchy.genmodel under
> org.eclipse.hyades.models.hierarchy/src-hmodel/model.
> When I attempt to open this file, I get the following error:
>
> Problems encountered in the model
> Unable to resolve proxy
> 'platform:/resource/org.eclipse.emf.ecore/src/model/Ecore.ec ore#//EObject'
> Its use is by
>
'platform:/resource/library/src/model/hierarchy.ecore#//Corr elationEntry/val
> ue'
> Its use is by
>
'platform:/resource/library/src/model/hierarchy.ecore#//Corr elationEntry/val
> ue'
> Unable to resolve proxy
>
'platform:/resource/org.eclipse.emf.ecore/src/model/Ecore.ec ore#//EStructura
> lFeature'
> Its use is by
>
'platform:/resource/library/src/model/hierarchy.ecore#//exte nsions/LeftOpera
> nd/feature'
> Its use is by
>
'platform:/resource/library/src/model/hierarchy.ecore#//exte nsions/LeftOpera
> nd/feature'
> ...
>
>
> But the file still opens. I tried adding a few EClasses using
> 'hierarchy.ecore' and regenerated the data model using the above mentioned
> file. The new EClasses are generated fine but the HierarchyPackage and
the
> HierarchyFactory is not updated accordingly.
>
> Any help will greatly be appreciated.
>
>
Previous Topic:Log and Trace Analyzer sample- setUserInput never called
Next Topic:Non-Java System Under Test and Hyades
Goto Forum:
  


Current Time: Sat Apr 20 06:29:42 GMT 2024

Powered by FUDForum. Page generated in 0.03501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top