|
|
Re: [QVTo] How to export QVTo transformation as Eclipse-plugin [message #504769 is a reply to message #504716] |
Tue, 22 December 2009 14:42 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Kaloutcha,
I recommend to use a more recent release of QVTo.
There is a new Java invocation API since the Galileo release,
see http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava
The standalone execution (outside Eclipse) feature has been added
in Helios M4 build, published this week.
In this case you invoke your transformation programmatically via the API
mentioned above.
Required dependencies:
org.eclipse.emf.ecore_2.6.0.v200912121603.jar
org.eclipse.emf.common_2.6.0.v200912121603.jar
org.eclipse.emf.ecore.xmi_2.5.0.v200912121603.jar
net.sourceforge.lpg.lpgjavaruntime_1.1.0.v200803061910.jar
org.eclipse.ocl_3.0.0.v200912161120.jar
org.eclipse.ocl.ecore_3.0.0.v200912161120.jar
-- QVTo jars ----------
org.eclipse.m2m.qvt.oml
org.eclipse.m2m.qvt.oml.common
org.eclipse.m2m.qvt.oml.cst.parser
org.eclipse.m2m.qvt.oml.emf.util
org.eclipse.m2m.qvt.oml.ecore.imperativeocl
For package (metamodel) registry, resource factories initialization see
http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_use_EMF_i n_standalone_applications_.28such_as_an_ordinary_main.29.3F
I will create a wiki page about that.
Regards,
/Radek
On Tue, 22 Dec 2009 06:31:25 +0100, Kaloutcha <ahmedmekki2000@yahoo.fr>
wrote:
> Hi everybody,
> I developed a QVTo transformation in Eclipse and I want to know how it
> can be used for generating a jar file. Indeed, I want to call this
> transformation from a java program. This java program will be exported
> as Jar or exe file. (And of course I want that the Jar or Exe file works
> independently from eclipse)
> Thank you for your help
> Regards
> Kaloutcha
|
|
|
|
|
Re: [QVTo] How to export QVTo transformation as Eclipse-plugin [message #508301 is a reply to message #508110] |
Mon, 18 January 2010 06:10 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Alex,
There is still some dependency cleanup job to do here.
The 'org.eclipse.m2m.qvt.common', 'org.eclipse.m2m.qvt.oml.emf.util'
bundles should
actually be eliminated from the standalone runtime configuration too.
We just did not manage to do it for M4. However, it should work fine if
no Eclipse dependency is present at runtime.
Regards,
/Radek
On Sat, 16 Jan 2010 00:50:53 +0100, Alex <alex.leites@gmail.com> wrote:
> How about a minimal headless Eclipse (or standalone OSGi) runtime
> configuration?
>
> E.g. org.eclipse.m2m.qvt.common depends on both org.eclipse.debug.core
> and org.eclipse.pde.core ... which I guess are not actually needed for a
> minimal runtime ...
|
|
|
Powered by
FUDForum. Page generated in 0.02891 seconds