Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Errors in UI project
[Acceleo] Errors in UI project [message #1404789] Tue, 05 August 2014 18:55
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Dear all,

I generated an UI project from a very simple Acceleo project containing a single template. The resulting UI project contains several errors (which prevent its usage as a plugin) in the doGenerate method of the GenerateAll.java class (common package).

org.eclipse.acceleo.test.common.Services gen1 = new org.eclipse.acceleo.test.common.Services(model, targetFolder.getLocation().toFile(), arguments);


The line above is issuing the message: "The constructor Services(EObject, File, List<capture#4-of ? extends Object>) is undefined".

gen1.setGenerationID(generationID);


This one produces: "The method setGenerationID(String) is undefined for the type Service".

gen1.doGenerate(BasicMonitor.toMonitor(monitor));


And this recursive call also fails: "The method setGenerationID(String) is undefined for the type Services".

Any hints how to solve this issue are welcome. Thank you.
Previous Topic:Outdated Acceleo update site addresses
Next Topic:generating code for the multivalue attribute
Goto Forum:
  


Current Time: Sat Jul 27 09:37:37 GMT 2024

Powered by FUDForum. Page generated in 0.03191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top