[Acceleo] Problem with Quickstart Guide [message #689040] |
Sun, 26 June 2011 16:17  |
Tim Cook Messages: 10 Registered: June 2011 |
Junior Member |
|
|
Hi All,
I am going through the Quick_Start on the Acceleo wiki (sorry but it won't allow me to post links yet).
When I get to the point of Running the template. Run As -> 1 Launch Acceleo Application
I get the error Selection does not contain a main type (@main annotation is missing in your template)
My template looks like the one in the tutorial AFAICT. Except for the fact I had to remove the http from the URI in this message. It is there in the actual template.
[comment encoding = UTF-8 /]
[module generate('www.eclipse.org/uml2/3.0.0/UML')]
[template public generateElement(c : Class)]
[comment @main /]
[file (c.name,false,'UTF-8')]
Hello, [c.name /] World!
[/file]
[/template]
Any ideas?
--Tim
[Updated on: Sun, 26 June 2011 16:18] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02684 seconds