Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Renaming an ASMModel instance from java
[ATL] Renaming an ASMModel instance from java [message #70979] Wed, 09 January 2008 11:09
Eclipse UserFriend
Originally posted by: awiede01.univ-lr.fr

Hi.

I embbeded the ATL engine and sub package in a standard Java application.
One of the ATL transformations I use in this context has the same source
and target metamodel. After thousands years, I finally found that this can
be a problem if the same metamodel is loaded twice with
AtlModelHandler.loadModel(). Can anyone confrim that.
Another tricky point: my application uses several chained ATM
transformations, and the output model of one transformation is the input
model of the next one. I first use setIsTarget(false) to reenter an
outputed model into a new tranformation, otherwise it "sometimes" fails.
I'm I right?
Last thing, is there an elegant way to change the "name" field of an
ASMModel intance, so that it fits with the "IN" and "OUT" names specified
in the *.atl/*.asm?

Thanx!
Antoine
Previous Topic:[ATL] run configuration cannot select ATL file
Next Topic:[ATL] How to call a called rule.
Goto Forum:
  


Current Time: Sun Apr 11 22:18:07 GMT 2021

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

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

Back to the top