Skip to main content

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

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,
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: 458
Registered: April 2010
Location: Nantes (France)
Senior Member


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:
Blogs: &
Previous Topic:getValue and 1..*
Next Topic:[Acceleo] Workspace ecore models URI resolution
Goto Forum:

Current Time: Sat Dec 02 00:08:09 GMT 2023

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

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

Back to the top