Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Ant tasks
[QVTO] Ant tasks [message #96689] Mon, 08 December 2008 21:26 Go to next message
Eclipse UserFriend
Originally posted by: bures.dsrg.mff.cuni.cz

Hello,

I would like to ask, whether it is possible to run the QVTO
transformation Ant task outside of Eclipse. I tried to reuse the code
from the task, but it looks like to depends way too much on Eclipse's
Platform, etc.

I haven't tried it, but can the task be run independently of the IDE? If
yes, what is the trick that makes it work?

Thanks, Tomas
Re: [QVTO] Ant tasks [message #96718 is a reply to message #96689] Mon, 08 December 2008 21:42 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Tomas,

At the moment, it's not possible to run QVTo transformation standalone,
IOW without any Eclipse dependency.

However, you can still run it in headless mode, using
'org.eclipse.ant.core.antRunner' application.
We certainly aim to support standalone QVTo execution, it's just not ready
yet ;).

Regards,
/Radek


On Mon, 08 Dec 2008 22:26:05 +0100, Tomas Bures <bures@dsrg.mff.cuni.cz>
wrote:

> Hello,
>
> I would like to ask, whether it is possible to run the QVTO
> transformation Ant task outside of Eclipse. I tried to reuse the code
> from the task, but it looks like to depends way too much on Eclipse's
> Platform, etc.
>
> I haven't tried it, but can the task be run independently of the IDE? If
> yes, what is the trick that makes it work?
>
> Thanks, Tomas
Re: [QVTO] Ant tasks [message #96732 is a reply to message #96718] Mon, 08 December 2008 21:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bures.dsrg.mff.cuni.cz

Thanks for the clarification, Radek.

Best regards,
Tomas

Radek Dvorak wrote:
> Hi Tomas,
>
> At the moment, it's not possible to run QVTo transformation standalone,
> IOW without any Eclipse dependency.
>
> However, you can still run it in headless mode, using
> 'org.eclipse.ant.core.antRunner' application.
> We certainly aim to support standalone QVTo execution, it's just not
> ready yet ;).
>
> Regards,
> /Radek
>
>
> On Mon, 08 Dec 2008 22:26:05 +0100, Tomas Bures <bures@dsrg.mff.cuni.cz>
> wrote:
>
>> Hello,
>>
>> I would like to ask, whether it is possible to run the QVTO
>> transformation Ant task outside of Eclipse. I tried to reuse the code
>> from the task, but it looks like to depends way too much on Eclipse's
>> Platform, etc.
>>
>> I haven't tried it, but can the task be run independently of the IDE?
>> If yes, what is the trick that makes it work?
>>
>> Thanks, Tomas
>
Re: [QVTO] Ant tasks [message #431122 is a reply to message #96732] Thu, 30 July 2009 15:40 Go to previous messageGo to next message
Miguel Angel Garcia de Dios is currently offline Miguel Angel Garcia de DiosFriend
Messages: 22
Registered: July 2009
Junior Member
Hi everyone,
Is it possible to set the transformation URI or the parameters URI being
relative to the ant buld file instead of the workspacee? Do anybody has
an example of how to do that? I mean, the unique example is using
uri="platform:/resource/qvto/transforms/in.ecore"
being "resource" a project located into the workspace. I want some
axemples of how to select files but relative to the ant buil file
instead of the workspace.
Thank you!
Tomas Bures wrote:
> Thanks for the clarification, Radek.
>
> Best regards,
> Tomas
>
> Radek Dvorak wrote:
>> Hi Tomas,
>>
>> At the moment, it's not possible to run QVTo transformation standalone,
>> IOW without any Eclipse dependency.
>>
>> However, you can still run it in headless mode, using
>> 'org.eclipse.ant.core.antRunner' application.
>> We certainly aim to support standalone QVTo execution, it's just not
>> ready yet ;).
>>
>> Regards,
>> /Radek
>>
>>
>> On Mon, 08 Dec 2008 22:26:05 +0100, Tomas Bures
>> <bures@dsrg.mff.cuni.cz> wrote:
>>
>>> Hello,
>>>
>>> I would like to ask, whether it is possible to run the QVTO
>>> transformation Ant task outside of Eclipse. I tried to reuse the code
>>> from the task, but it looks like to depends way too much on Eclipse's
>>> Platform, etc.
>>>
>>> I haven't tried it, but can the task be run independently of the IDE?
>>> If yes, what is the trick that makes it work?
>>>
>>> Thanks, Tomas
>>
Re: [QVTO] Ant tasks [message #432143 is a reply to message #431122] Thu, 30 July 2009 16:20 Go to previous message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Miguel,

Just use relative paths as uris, for instance your case might go like
uri="transforms/in.ecore".

It should also be explained at
http://127.0.0.1:4324/help/topic/org.eclipse.m2m.qvt.oml.doc /references/anttasks.html

Regards,
/Radek


On Thu, 30 Jul 2009 17:40:38 +0200, Miguel Angel Garcia de Dios
<cordobarras@hotmail.com> wrote:

> Hi everyone,
> Is it possible to set the transformation URI or the parameters URI being
> relative to the ant buld file instead of the workspacee? Do anybody has
> an example of how to do that? I mean, the unique example is using
> uri="platform:/resource/qvto/transforms/in.ecore"
> being "resource" a project located into the workspace. I want some
> axemples of how to select files but relative to the ant buil file
> instead of the workspace.
> Thank you!
> Tomas Bures wrote:
>> Thanks for the clarification, Radek.
>> Best regards,
>> Tomas
>> Radek Dvorak wrote:
>>> Hi Tomas,
>>>
>>> At the moment, it's not possible to run QVTo transformation standalone,
>>> IOW without any Eclipse dependency.
>>>
>>> However, you can still run it in headless mode, using
>>> 'org.eclipse.ant.core.antRunner' application.
>>> We certainly aim to support standalone QVTo execution, it's just not
>>> ready yet ;).
>>>
>>> Regards,
>>> /Radek
>>>
>>>
>>> On Mon, 08 Dec 2008 22:26:05 +0100, Tomas Bures
>>> <bures@dsrg.mff.cuni.cz> wrote:
>>>
>>>> Hello,
>>>>
>>>> I would like to ask, whether it is possible to run the QVTO
>>>> transformation Ant task outside of Eclipse. I tried to reuse the code
>>>> from the task, but it looks like to depends way too much on Eclipse's
>>>> Platform, etc.
>>>>
>>>> I haven't tried it, but can the task be run independently of the IDE?
>>>> If yes, what is the trick that makes it work?
>>>>
>>>> Thanks, Tomas
>>>
Previous Topic:How to generate ATL (ecore) model from ATL file
Next Topic:[QVTo] run configuration requirements for input model
Goto Forum:
  


Current Time: Sat Apr 20 13:08:32 GMT 2024

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

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

Back to the top