"Selection does not contain a main type (@main annotation is missing in
your main template)",
which look correct as I do not have a main template or anything that
contains the string "main".
This is a bit confusing. Do I have to "right-click on the Acceleo.." to
get a UML model, or do I first have to create a UML model by choosing
"File -> New -> Example -> Acceleo -> UML to Java" or by some other
means?
Trying the second option "File -> New -> Example -> Acceleo -> UML to
Java" does not create any files at all.
[comment @main/]
... [template public generate(aClass : Class)] [comment @main/] [file (aClass.name.concat('.java'), false)] ...
> This is not normal. It should import new projects in your workspace. In
> what version of Eclipse did you try,
I am following the tutorial using Eclipse 3.7.2 and the Acceleo SDK
3.1.3.v20120214-0359.