Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:30 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 1
Registered: March 2010
Junior Member
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 12:27 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 413
Registered: April 2010
Location: Nantes (France)
Senior Member

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: Thu Dec 18 13:31:58 GMT 2014

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

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