Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Standalone usage not possible
[Acceleo] Standalone usage not possible [message #1234106] Tue, 21 January 2014 03:50 Go to next message
Furkan Eke is currently offline Furkan Eke
Messages: 24
Registered: June 2012
Junior Member
In my Juno installation of Acceleo i had the documentation standalone use of Acceleo, which suprisingly disappeared in Kepler.

So i went back to juno to try the standalone run. The document did not help really, because the jar dependencies are not completely listed in the document. Anyways, i have collected all the jars, which are shown in my Acceleo plugin project, set the classpath properly and resolved class dependencies.

Now i have the problem that the

AcceleoEvaluationEnvironment(Module, Template call, smt)

shutting down the acceleo engine, because no template can be found?!.

In the jar file i export:
- every template is available,
- each .class is available,
- in the manifest file,
-- the main class is given,
-- the packages are exported

I do not know what else i can do. I have used the "jar export" but the result was not much different for bundle export.
Re: [Acceleo] Standalone usage not possible [message #1234108 is a reply to message #1234106] Tue, 21 January 2014 03:52 Go to previous messageGo to next message
Furkan Eke is currently offline Furkan Eke
Messages: 24
Registered: June 2012
Junior Member
By the way, "main" template is set, and the plugin is running inside Eclipse generating output.
Re: [Acceleo] Standalone usage not possible [message #1235414 is a reply to message #1234108] Fri, 24 January 2014 04:36 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Do you have the emtl files in your jar? If you don't have them, you should use the Acceleo maven build to create your jar.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:[Acceleo] Problem with file generation
Next Topic:[Acceleo] Standalone
Goto Forum:
  


Current Time: Thu Jul 24 19:16:06 EDT 2014

Powered by FUDForum. Page generated in 0.01373 seconds