Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo 3.x] Problem exporting Acceleo project as plugin(Unable to export acceleo project as plugin when template is imported)
[Acceleo 3.x] Problem exporting Acceleo project as plugin [message #714775] Thu, 11 August 2011 09:20 Go to next message
Emilien Perico is currently offline Emilien Perico
Messages: 36
Registered: July 2009
Member
I'm working on Eclipse 3.6.x platform and Acceleo 3.0.1 (problem still occurs with 3.x).

I am using two acceleo projects (project1 and project2).
The first one contains a template where I want to import a template from the project2.

I correctly add the dependency in MANIFEST.MF and declare the import in the .mtl file:
[import org::eclipse::acceleo::module::project2 /]

But when I try to export project1 as a deployable plugin. An error occurs:

"Errors occurred during the export operation. The ant tasks generated log files which can be found at ....."

And log content is:
# 11/08/11 15:15:31 CEST
# Eclipse Compiler for Java(TM) 0.A68_R36x, 3.6.1, Copyright IBM Corp 2000, 2010. All rights reserved.


There is no message in error log neither.

This error does not occur when I remove the import line in my template.

Do you have suggestions ?
Re: [Acceleo 3.x] Problem exporting Acceleo project as plugin [message #716025 is a reply to message #714775] Tue, 16 August 2011 04:41 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

You should try to use Acceleo 3.0.5 since the Ant based export has been improved. Acceleo 3.0 update site: http://download.eclipse.org/modeling/m2t/acceleo/updates/releases/3.0

Regards,

Stephane Begaudeau, Obeo

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



Re: [Acceleo 3.x] Problem exporting Acceleo project as plugin [message #719910 is a reply to message #716025] Mon, 29 August 2011 08:36 Go to previous messageGo to next message
Emilien Perico is currently offline Emilien Perico
Messages: 36
Registered: July 2009
Member
Hi Stephane,

Thanks for your answer.
I updated Acceleo feature to 3.0.5 version but I still have the problem.
I also try to update Eclipse to 3.6.2 but still the same.

It works fine with Eclipse 3.7 but I must use Eclipse 3.6.1 for project constraints.

Do you have any suggestions ?

Regards,

Emilien
Re: [Acceleo 3.x] Problem exporting Acceleo project as plugin [message #719929 is a reply to message #719910] Mon, 29 August 2011 09:43 Go to previous message
Emilien Perico is currently offline Emilien Perico
Messages: 36
Registered: July 2009
Member
My mistake. It works fine after rebuilding the project.
Thanks again.

Emilien
Previous Topic:[Xpand] cannot start workflow from a plugin
Next Topic:[Acceleo 3] select() work on Acceleo 2 but not on Acceleo 3
Goto Forum:
  


Current Time: Thu Jul 24 04:29:24 EDT 2014

Powered by FUDForum. Page generated in 0.01774 seconds