Acceleo run error [message #1767937] |
Wed, 12 July 2017 09:30  |
wang shiyu Messages: 18 Registered: June 2017 |
Junior Member |
|
|
The wrong info are follows:
The generation failed to generate any file because there are no model elements that matches at least the type of the first parameter of one of your main templates.
The problem may be caused by a problem with the registration of your metamodel, please see the method named "registerPackages" in the Java launcher of your generator. It could also come from a missing [comment @main/]
in the template used as the entry point of the generation.
but i really have winapplication this element:
<?xml version="1.0" encoding="UTF-8"?>
<UILM:WinApplication
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:UILM="http://www.example.org/uilm"
xsi:schemaLocation="http://www.example.org/uilm uilm.ecore"
name="GMail">
<WinElements
xsi:type="UILM:WFrame"
name="Message">
<WinComponents
xsi:type="UILM:WPanel"
name="panel11">
<WinComponents
xsi:type="UILM:WLabel"
name="label111"
text="姓名"/>
</WinComponents>
<WinComponents
xsi:type="UILM:WPanel"
name="panel12"/>
<WinComponents
xsi:type="UILM:WLabel"
name="label1"
text="please enter name"/>
</WinElements>
<WinElements
xsi:type="UILM:WFrame"
name="MessageReader">
<WinComponents
xsi:type="UILM:WPanel"
name="panel21"/>
<WinComponents
xsi:type="UILM:WPanel"
name="panel22"/>
</WinElements>
<WinElements
xsi:type="UILM:WFrame"
name="MeassageDetails">
<WinComponents
xsi:type="UILM:WPanel"
name="panel31"/>
<WinComponents
xsi:type="UILM:WPanel"
name="panel32"/>
</WinElements>
</UILM:WinApplication>
[Updated on: Wed, 12 July 2017 09:32] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02795 seconds