Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » error expand
error expand [message #1745384] Mon, 10 October 2016 00:43 Go to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
0 INFO WorkflowRunner - --------------------------------------------------------------------------------------
10 INFO WorkflowRunner - EMF Modeling Workflow Engine 1.0.2, Build v201102150556
10 INFO WorkflowRunner - (c) 2005-2009 openarchitectureware.org and contributors
10 INFO WorkflowRunner - --------------------------------------------------------------------------------------
11 INFO WorkflowRunner - running workflow: C:/Users/mabrouk/Desktop/fin/eclipsehelio avec atl/workspace/my.generator.WSDLandBPELModel2Text/src/workflow/generator.mwe
12 INFO WorkflowRunner -
727 INFO StandaloneSetup - Registering platform uri 'C:\Users\mabrouk\Desktop\fin\eclipsehelio avec atl\workspace'
4869 INFO CompositeComponent - Reader: Loading model from platform:/resource/my.generator.WSDLandBPELModel2Text/src/SVLLOutWSDL.xmi
5067 ERROR WorkflowRunner - Workflow interrupted. Reason: Couldn't load resource under platform:/resource/my.generator.WSDLandBPELModel2Text/src/SVLLOutWSDL.xmi : org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'platform:/resource/WSDLandBPEL_AI/metamodel/WSDLandBPEL.ecore' not found. (platform:/resource/my.generator.WSDLandBPELModel2Text/src/SVLLOutWSDL.xmi, 2, 219)
Re: error expand [message #1745385 is a reply to message #1745384] Mon, 10 October 2016 00:45 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
<?xml version="1.0"?>
<workflow>
<property name="model" value="my.generator.WSDLandBPELModel2Text/src/SVLLOutWSDL.xmi" />
<property name="src-gen" value="src-gen" />

<!-- set up EMF for standalone execution -->

<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" >
<platformUri value=".."/>
</bean>

<!-- instantiate metamodel -->
<bean id="mm_emf" class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel"/>

<!-- load model and store it in slot 'model' -->
<component class="org.eclipse.emf.mwe.utils.Reader">
<uri value="platform:/resource/${model}" />
<modelSlot value="model" />
</component>

<!-- check model -->
<component class="org.eclipse.xtend.check.CheckComponent">
<metaModel idRef="mm_emf"/>
<checkFile value="metamodel::Checks" />
<emfAllChildrenSlot value="model" />
</component>

<!-- generate code -->
<component class="org.eclipse.xpand2.Generator">
<metaModel idRef="mm_emf"/>
<expand
value="template::Template::main FOR model" />
<outlet path="${src-gen}" >
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>
Re: error expand [message #1745392 is a reply to message #1745384] Mon, 10 October 2016 07:32 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Does the project with name "WSDLandBPEL_AI" exist (the other has prefix my.generator)?
Is it in the same parent directory as my.generator.WSDLandBPELModel2Text?
Re: error expand [message #1745395 is a reply to message #1745392] Mon, 10 October 2016 09:56 Go to previous messageGo to next message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
yes , "WSDLandBPEL_AI" exist in another project , i import the ecore WSDLandBPEL.ecore from another project who has name WSDLandBPEL_AI
but the other project don't have the prefixe my.generator

[Updated on: Mon, 10 October 2016 09:59]

Report message to a moderator

Re: error expand [message #1745403 is a reply to message #1745395] Mon, 10 October 2016 11:28 Go to previous message
babou boubou is currently offline babou boubouFriend
Messages: 22
Registered: October 2016
Junior Member
thank you Karsten Thoms i resolve the problem by rename the path of file WSDLandBPEL.ecore
Previous Topic:Unit Test for a Language which cross-references an Ecore model
Next Topic:Problem during Xtext migration and resolving @Data active annotations
Goto Forum:
  


Current Time: Fri Jun 09 16:17:42 GMT 2023

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

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

Back to the top