|[ATL] Renaming an ASMModel instance from java [message #70979]
||Wed, 09 January 2008 11:09
Originally posted by: awiede01.univ-lr.fr|
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?
Powered by FUDForum
. Page generated in 0.01637 seconds