Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » IOException with exported Acceleo project [resolved](Acceleo project won't generate after Export as a plugin)
IOException with exported Acceleo project [resolved] [message #723796] Fri, 09 September 2011 14:08 Go to next message
simon.vivien is currently offline simon.vivienFriend
Messages: 21
Registered: August 2011
Junior Member
Hi,

This is what I have :

- An Acceleo Project
- An Acceleo UI plugin project
- Other Xtext DSL projects with their editors and other stuff


When I launch a second Eclipse instance with all these projects as plugins, everything works fine. But I want to export these projects as plugins in my current Eclipse instance in order to make my generator work directly in this main Eclipse instance.

But when I try this, I got this error when I launch a generation :

java.io.IOException: '/com/podprogramming/framework/generation/common/generate.emtl' not found


. When I export my projects as plugins, my Acceleo project has the Acceleo nature, and the autobuild is enabled.
. I tried both XMI and binary builds.


I would appreciate any help Smile

Thanks,
Simon.

PS : I also tried to install my plugins through an update-site, for the same result.

[Updated on: Thu, 15 September 2011 08:37]

Report message to a moderator

Re: IOException with exported Acceleo project [message #724365 is a reply to message #723796] Mon, 12 September 2011 07:56 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

In the build.acceleo file, do you have the lin "outputFolder="${target.folder}" just below "sourceFolder="${target.folder}"? If no, add it, it is a small bug fixed in the next release of Acceleo.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
Re: IOException with exported Acceleo project [message #724379 is a reply to message #724365] Mon, 12 September 2011 08:45 Go to previous message
simon.vivien is currently offline simon.vivienFriend
Messages: 21
Registered: August 2011
Junior Member
Hi,

The line was not in the build.acceleo, it is now. As a consequence, I do not get the error again, but nothing is generated, and the error log remains empty, so is the console.
My plugins are correctly installed as plugins in my main Eclipse instance, and I properly uninstalled them before the reinstallation.

I do not understand what's happening.

Thanks,
Simon.

EDIT : I tried to re-export my projects as plugins, with the same process, and it now works. I had put the 'outputFolder' line after the 'sourceFolder' line, and now it is below. Don't know if it comes from this modification. Thanks anyway !

[Updated on: Mon, 12 September 2011 12:43]

Report message to a moderator

Previous Topic:[acceleo] please see the method named "registerPackages" in the Java launcher of your gene
Next Topic:[Acceleo 3.1] Compilation error
Goto Forum:
  


Current Time: Thu Apr 25 17:10:07 GMT 2024

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

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

Back to the top