[Acceleo] 'Acceleo Builder' Errors [message #847648] |
Tue, 17 April 2012 14:15 |
saadia dhouib Messages: 36 Registered: April 2010 |
Member |
|
|
Hi,
I have problems with the Acceleo builder when I switch the serialization from "bin" to "xmi" in the projects properties:
Errors occurred during the build.
Errors running builder 'Acceleo Builder' on project 'org.eclipse.acceleo.module.test'.
The feature 'et(Element)' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.acceleo.module.test'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test2'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test3'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test4'.
The feature 'clAny_Class' is not a valid feature
Do you have an idea on those problems?
Cheers
[Updated on: Tue, 17 April 2012 14:15] Report message to a moderator
|
|
|
|
|
|
|
|
Re: [Acceleo] 'Acceleo Builder' Errors [message #848440 is a reply to message #848433] |
Wed, 18 April 2012 08:14 |
saadia dhouib Messages: 36 Registered: April 2010 |
Member |
|
|
If I summarize my problem:
With version 3.1.1, 3.1.2, 3.1.3 of Acceleo, and with Xmi or Bin serialization I have those compilation errors on three acceleo projects:
Errors occurred during the build.
Errors running builder 'Acceleo Builder' on project 'org.eclipse.acceleo.module.test'.
The feature 'et(Element)' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.acceleo.module.test'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test2'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test3'.
The feature 'clAny_Class' is not a valid feature
Errors running builder 'Acceleo Builder' on project 'org.eclipse.proteus.generators.acceleo.test4'.
The feature 'clAny_Class' is not a valid feature
[Updated on: Wed, 18 April 2012 08:14] Report message to a moderator
|
|
|
|
|
|
|
Re: [Acceleo] 'Acceleo Builder' Errors [message #848675 is a reply to message #848636] |
Wed, 18 April 2012 13:27 |
|
Hi,
These all seem quite "scattershot" answers to a vague question... Back to the issue at hand : Saadia, could you be a little more specific as to the issue you experience?
- Do you have the metamodel used by your templates in the workspace? If yes, you most likely encountered one of the known bugs of Acceleo 3.1. If you are in such a case, you will need to install the metamodels and remove them from the worspace (or launch a runtime in which you will develop the templates). Or you could try and use one of the 3.2 or 3.3 builds since these bugs are fixed : http://download.eclipse.org/modeling/m2t/acceleo/updates/milestones/3.2 .
- Can you confirm that you have indeed selected "XMI" by right-clicking on your project(s), selecting "properties" then "Acceleo"?
- Are these issues recurrent on a given set of templates, or do they appear for "all" templates?
- Have you tried a full, clean build on your workspace (disable "Project > Build Automatically", then use "Project > Clean..." while disabling the checkbox "Start a build automatically" at the bottom of the popup. Then, use "Project > Build All". Finally, reenable the "Poject > Build Automatically" item)?
If you tried all these, and it still fails with these errors : do you have a stack trace in the error log ("Window > Show View > Error Log")? Please provide it to us here if you do.
Finally, if none of this helps, could you provide us with a sample template on which you reproduce this issue (if possible, something that we can use to reproduce ourselves, thus not using your own metamodels)?
Laurent Goubet
Obeo
[Updated on: Wed, 18 April 2012 13:28] Report message to a moderator
|
|
|
|
|
|
|
|
Re: [Acceleo] 'Acceleo Builder' Errors [message #849472 is a reply to message #848728] |
Thu, 19 April 2012 07:19 |
|
Saadia,
As Ed mentionned, a zip of your projects (containing the projects with your templates and the profiles/metamodels it uses) would be the best. If you cannot provide us with the original files, can you try and reproduce your use case with generic, simple samples?
If you do reproduce, please attach the zipped projects on a bug on bugzilla.
Ed,
Edward Willink wrote on Wed, 18 April 2012 10:10
My previous experiences were in
http://www.eclipse.org/forums/index.php/mv/msg/197654/630274/#msg_630274
and the solution was a new workspace.
This issue has been encountered by a number of people with 3.1.1, and it had multiple causes, with as many bugs fixed with the latest releases. Most causes have been tracked down and fixed, the important part as far as we are concerned is to try and pinpoint the causes of this particular instance to see if if is one of those we fixed, or if one of them has passed through.
Edward Willink wrote on Wed, 18 April 2012 10:10
Cedric Brun had the same problem in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327116 which was CLOSED
INVALID although the cause was never identified.
And as mentionned on the bug along with the "closing" comment, without any reproduction steps, xml files or templates ... we have absolutely no way to try and fix it, hence my detailled questions in this thread.
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.04745 seconds