Home » Archived » M2M (model-to-model transformation) » [QVTO] Ant tasks
[QVTO] Ant tasks [message #96689] |
Mon, 08 December 2008 21:26 |
Eclipse User |
|
|
|
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 |
Radomil Dvorak 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 |
Eclipse User |
|
|
|
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 |
Miguel Angel Garcia de Dios 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 |
Radomil Dvorak 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
>>>
|
|
|
Goto Forum:
Current Time: Fri Jan 17 17:34:54 GMT 2025
Powered by FUDForum. Page generated in 0.03109 seconds
|