Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Compile ATL outside Eclipse
[ATL] Compile ATL outside Eclipse [message #42013] Sat, 26 May 2007 05:56 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

I am trying to use ATL outside Eclipse (simply as a set of Jars). I have
looked at [1], and these have helped, but this basically talks about
running the transformations. When I go to use the compiler:
AtlCompiler.getDefault().compile(stream, file);

the compiler expects an IFile. However, I can't have an IFile without
an IProject and thus a Workspace. Does the compiler really need an
IFile, or can it use a stream or Java file?

[1] http://wiki.eclipse.org/index.php/ATL_Howtos#How_do_I_launch _transformations_programmatically.3F

cheers,
ian
Re: [ATL] Compile ATL outside Eclipse [message #42044 is a reply to message #42013] Sat, 26 May 2007 06:46 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Opps...

Sorry, Please ignore my post. I was using a build of ATL from the
website, but it seems that the AtlDefaultCompiler from head works with
Files instead of IFiles.

Cheers,
Ian

Ian Bull wrote:
> I am trying to use ATL outside Eclipse (simply as a set of Jars). I have
> looked at [1], and these have helped, but this basically talks about
> running the transformations. When I go to use the compiler:
> AtlCompiler.getDefault().compile(stream, file);
>
> the compiler expects an IFile. However, I can't have an IFile without
> an IProject and thus a Workspace. Does the compiler really need an
> IFile, or can it use a stream or Java file?
>
> [1] http://wiki.eclipse.org/index.php/ATL_Howtos#How_do_I_launch _transformations_programmatically.3F
>
>
> cheers,
> ian
Previous Topic:[ATL] How to create o Sequence / Collection of model elements
Next Topic:[ATL] How to install ANT Tasks?
Goto Forum:
  


Current Time: Thu Jan 21 06:34:37 GMT 2021

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

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

Back to the top