Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] How to export QVTo transformation as Eclipse-plugin
[QVTo] How to export QVTo transformation as Eclipse-plugin [message #504716] Tue, 22 December 2009 05:31 Go to next message
Kaloutcha  is currently offline Kaloutcha Friend
Messages: 3
Registered: December 2009
Junior Member
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 #504717 is a reply to message #504716] Tue, 22 December 2009 10:33 Go to previous messageGo to next message
Kaloutcha  is currently offline Kaloutcha Friend
Messages: 3
Registered: December 2009
Junior Member
I forget to say that I am using the Eclipse GanyMEDE
Re: [QVTo] How to export QVTo transformation as Eclipse-plugin [message #504769 is a reply to message #504716] Tue, 22 December 2009 14:42 Go to previous messageGo to next message
Eclipse UserFriend
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 #504863 is a reply to message #504769] Wed, 23 December 2009 03:14 Go to previous messageGo to next message
Kaloutcha  is currently offline Kaloutcha Friend
Messages: 3
Registered: December 2009
Junior Member
Hi Radek,
Thank you for your response and I am looking forward for your wiki page that you will create

Regards
Kaloutcha
Re: [QVTo] How to export QVTo transformation as Eclipse-plugin [message #508110 is a reply to message #504769] Fri, 15 January 2010 23:50 Go to previous messageGo to next message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 51
Registered: August 2009
Member
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 ...
Re: [QVTo] How to export QVTo transformation as Eclipse-plugin [message #508301 is a reply to message #508110] Mon, 18 January 2010 06:10 Go to previous message
Eclipse UserFriend
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 ...
Previous Topic:[ATL] ATL data types
Next Topic:[QVTO] How to work with inheritance
Goto Forum:
  


Current Time: Thu Aug 22 17:35:02 GMT 2019

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

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

Back to the top