Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Cross models reference + Java Application
[Acceleo] Cross models reference + Java Application [message #674623] Fri, 27 May 2011 11:30 Go to next message
Eclipse UserFriend
Hi,

I have two ecore metamodels. The main one has a simple reference to a class of the second one. My acceleo M2T script imports and uses both metamodels. It works well when executed as an Acceleo plugin but not when executed as a Java application. This is likely due to a problem of dependancy wrt the second model but I don't find how to fix this.

Any help would be appreciated,
Thanks,
Myvatn
Re: [Acceleo] Cross models reference + Java Application [message #675146 is a reply to message #674623] Mon, 30 May 2011 08:27 Go to previous message
Eclipse UserFriend
Hi,

When we are running in "Acceleo plugin" mode, we are using the dependencies of the plugin. In "Java application", we are using the classpath. Does your project has a dependency with the project(s) containing the two metamodels ?

Stephane Begaudeau, Obeo
--
Twitter: @sbegaudeau
Acceleo wiki: http://wiki.eclipse.org/Acceleo
Blogs: http://stephanebegaudeau.tumblr.com & http://sbegaudeau.tumblr.com
Previous Topic:getValue and 1..*
Next Topic:[Acceleo] Workspace ecore models URI resolution
Goto Forum:
  


Current Time: Fri Jul 25 16:55:19 EDT 2025

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

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

Back to the top