Launching ATL programmatically [message #1545] |
Mon, 18 December 2006 10:54  |
Eclipse User |
|
|
|
Originally posted by: dorazio.nicola.yahoo.it
Hi all,
I'm an Italian student of Rome and I'm making a thesis about ATL. I need
to launch ATL programmatically (from java file, not from Run... option),
but I have so much problem. I write here because there isn't books about
doing this. In my trasformation I have this scheme:
INPUT METAMODEL Klaper.ecore (EMF)
INPUT MODEL My.klaper (generated by an emf plugin)
OUTPUT METAMODEL DTMP.ecore (EMF)
The error is that the function input = amh.loadModel("IN", emfmm1,
inputm_url.openStream()) returns null where emfmm1 is a type of ASMModel
and inputm_url is type of URL. By debug I have seen that "null" came
from some method called in URI.class (but because I haven't the source
code of this class I cannot see why).
Is anyone who can say me how can I resolve my problem?
Thank you so much for the time spent to me.
Best regards Nicola D'Orazio
|
|
|
|
Re: Launching ATL programmatically [message #1611 is a reply to message #1559] |
Tue, 19 December 2006 00:56  |
Eclipse User |
|
|
|
Originally posted by: bezivin.univ-nantes.fr
Dear Freddy and Nicola,
Could you stick with the rule in this newsgroup
of always prefixing the subject line
of your question, answer or comment
by the [ATL] tag?
We absolutely need to enforce this rule/habit
since the M2M project has several components.
Thanks,
Jean
"Freddy Allilaire" <freddy.allilaire@univ-nantes.fr> a
|
|
|
Powered by
FUDForum. Page generated in 0.07809 seconds