[ATL] Cannot import EMFTVM [message #1034299] |
Fri, 05 April 2013 05:02  |
Eclipse User |
|
|
|
Hi members,
I'm currently trying to switch from the 'normal' ATL compiler to EMFTVM, as it seems to be much faster and gives clearer error hints.
My problem: I cannot import the stuff suggested here. EmftvmFactory, for example, is not available in my Juno's type browser (CTRL+SHIFT+T), although version 3.3.1 of the ATL SDK is installed and
in the ATL file works no problem.
Can you give me any hint what I am missing? Thanks!
|
|
|
|
|
Re: [ATL] Cannot import EMFTVM [message #1036705 is a reply to message #1036302] |
Mon, 08 April 2013 14:02   |
Eclipse User |
|
|
|
Op 08-04-13 09:53, Gunnar Arndt schreef:
> Dennis, thanks again. The plug-in org.eclipse.m2m.atl.emftvm is not available
> in my target platform or type browser. I have installed the ATL SDK from
> http://download.eclipse.org/releases/juno in both Eclipse itself and the
> target platform. Do I need anything else in order to use EMFTVM in a plug-in
> (it is not standalone)? As mentioned before, the EMFTVM compiler is available
> and works fine.
As you've got EMFTVM working at design-time, I'll assume you've got the EMFTVM
feature and all its plug-ins installed correctly. That does not make it
available to your own plug-in, however. Eclipse plug-ins (or OSGi bundles in
general) require you to explicitly list the dependencies.
You need to specify "org.eclipse.m2m.atl.emftvm" as a dependency in your
plug-in's MANIFEST.MF. Example:
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.m2m.atl.common,
org.eclipse.m2m.atl.emftvm
Eclipse also provides a graphical editor for the MANIFEST.MF file, where you
can add the required plug-ins under the "Dependencies" tab.
Kind regards,
Dennis
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.31607 seconds