Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Errors running builder 'Acceleo Builder'
[Acceleo] Errors running builder 'Acceleo Builder' [message #802933] Mon, 20 February 2012 12:32 Go to next message
pessi mistisch is currently offline pessi mistisch
Messages: 6
Registered: October 2011
Junior Member
I am trying to switch from Acceleo 3.0.5 to Acceleo 3.2 and struggle with Errors during building.

I get this Error:
Errors occurred during the build.
Errors running builder 'Acceleo Builder' on project 'org.eclipse.acceleo.module.example.ecore2python'.
com.google.common.collect.ArrayListMultimap.create()Lcom/google/common/collect/ArrayListMultimap;

in detail:
java.lang.NoSuchMethodError: com.google.common.collect.ArrayListMultimap.create()Lcom/google/common/collect/ArrayListMultimap;
	at org.eclipse.acceleo.parser.AcceleoParser.<init>(AcceleoParser.java:100)
...


This is the Setup I have tested (clean install):
- Eclipse Helios SR2 Modeling Tools Package
- Acceleo 3.2 from the update site
This workspace:
- checked out the 'ecore2python' example project (to make sure the error is not in my code)
- created a Project with an ecore model consisting of a package and a class

I already tried installing guava-osgi (because that should include the needed com.google.common methods), but that didn't help.

If this wiki page is correct, Acceleo 3.2 should work with Helios: wiki.eclipse.org/Acceleo/Compatibility
Is that correct?

[Updated on: Mon, 20 February 2012 12:37]

Report message to a moderator

Re: [Acceleo] Errors running builder 'Acceleo Builder' [message #803350 is a reply to message #802933] Tue, 21 February 2012 03:14 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4014
Registered: July 2009
Senior Member
Hi

I strongly recommend 3.1.2 rather than 3.2 or 3.3M5, since the bugs in
3.1.2 are much easier to understand and workaround.

Regards

Ed Willink

On 20/02/2012 17:32, pessimistisch Mising name wrote:
> I am trying to switch from Acceleo 3.0.5 to Acceleo 3.2 and struggle
> with Errors during building.
>
> I am getting this Error:
> Errors occurred during the build.
> Errors running builder 'Acceleo Builder' on project
> 'org.eclipse.acceleo.module.example.ecore2python'.
> com.google.common.collect.ArrayListMultimap.create()Lcom/google/common/collect/ArrayListMultimap;
>
> in detail:
> java.lang.NoSuchMethodError:
> com.google.common.collect.ArrayListMultimap.create()Lcom/google/common/collect/ArrayListMultimap;
> at
> org.eclipse.acceleo.parser.AcceleoParser.<init>(AcceleoParser.java:100)
> ..
>
> This is the Setup I have tested (clean install):
> - Eclipse Helios SR2 Modeling Tools Package
> - Acceleo 3.2 from the update site
> This workspace:
> - checked out the 'ecore2python' example project (to make sure the
> error is not in my code)
> - created a Project with an ecore model consisting of a package and a
> class
>
> I already tried installing guava-osgi (because that should include the
> needed com.google.common methods), but that didn't help.
>
> If this wiki page is correct, Acceleo 3.2 should work with Helios:
> wiki.eclipse.org/Acceleo/Compatibility
> Is that correct?
Re: [Acceleo] Errors running builder 'Acceleo Builder' [message #803453 is a reply to message #802933] Tue, 21 February 2012 06:16 Go to previous messageGo to next message
pessi mistisch is currently offline pessi mistisch
Messages: 6
Registered: October 2011
Junior Member
I tried it with Acceleo 3.1.3 and that works.

But I don't have "Traceability" in my context menu like it is shown in the first screenshot of this blog post:
http://eclipsemde.blogspot.com/2012/01/traceability-test-case-uml-to-java.html
If i read that post correctly, the feature should be available in Acceleo already. Is it present from Version 3.2 onwards or where?
I think that feature is awesome!

If I am not wrong, this error is present in a normal install of Acceleo 3.2 in a clean Eclipse Helios Modeleing Package. Is there a simple constellation in wich Acceleo 3.2 works with Helios? (like http://wiki.eclipse.org/Acceleo/Compatibility implies?)

Thanks in advance for your help.
Re: [Acceleo] Errors running builder 'Acceleo Builder' [message #805940 is a reply to message #803453] Fri, 24 February 2012 05:19 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

The "Traceability" available in the context menu in my colleague's blog post is part of a commercial offer named Acceleo Premium built on top of Acceleo that provides advanced mechanism with the traceability information computed by Acceleo. You can find more about this advanced traceability in video here (free registration required).

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau & @acceleo
Google+: stephane.begaudeau & acceleo
Blog: http://stephanebegaudeau.tumblr.com
Acceleo Documentation: http://docs.obeonetwork.com/acceleo



Previous Topic:[XPand2] setting local variables
Next Topic:[Acceleo ]ECORE Loop over References
Goto Forum:
  


Current Time: Thu Jul 31 01:32:49 EDT 2014

Powered by FUDForum. Page generated in 0.33549 seconds