Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] A problem about launch ATL transformations programmatically
[ATL] A problem about launch ATL transformations programmatically [message #104444] Mon, 04 May 2009 08:31 Go to next message
Ke SUN is currently offline Ke SUNFriend
Messages: 11
Registered: July 2009
Junior Member
Hi, I have got some information about launch an ATL transformation
programmatically from Java code, here is the
url:http://wiki.eclipse.org/ATL_Howtos#How_do_I_launch_trans formations_programmatically.

But there's trouble in using
" AtlLauncher.getDefault().launch(fil.toURL(),Collections.EMPT Y_MAP,
models, Collections.EMPTY_MAP,Collections.EMPTY_LIST,
Collections.EMPTY_MAP);", Debug information is "The jar file
org.eclipse.m2m.atl.engine.jar has no source attachment."

I have no idea about it. Please help me.
Thanks in advance.
Re: [ATL] A problem about launch ATL transformations programmatically [message #104568 is a reply to message #104444] Wed, 06 May 2009 07:48 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
Hello,

Kirk a écrit :
> Hi, I have got some information about launch an ATL transformation
> programmatically from Java code, here is the
> url:http://wiki.eclipse.org/ATL_Howtos#How_do_I_launch_trans formations_programmatically.
>

This page is about old ATL versions, so consider it will work using ATL
2.0.2. Note that it also may need corrections.
An explanation about launching ATL programmatically in th 3.0.X versions
will be available soon, at this time you can refer to the Public2Private
example available in the New->example menu.

Best regards,

William

>
> But there's trouble in using
> " AtlLauncher.getDefault().launch(fil.toURL(),Collections.EMPT Y_MAP,
> models, Collections.EMPTY_MAP,Collections.EMPTY_LIST,
> Collections.EMPTY_MAP);", Debug information is "The jar file
> org.eclipse.m2m.atl.engine.jar has no source attachment."
>
> I have no idea about it. Please help me.
> Thanks in advance.
>
Previous Topic:[QVTO] Mapping issue
Next Topic:[ATL] Compatibility between ATL2 and ATL3?
Goto Forum:
  


Current Time: Thu Apr 25 20:52:50 GMT 2024

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

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

Back to the top