Home » Archived » M2M (model-to-model transformation) » [QVTO] How to generate a trace file
| |
Re: [QVTO] How to generate a trace file [message #480840 is a reply to message #480618] |
Tue, 18 August 2009 16:02 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Derek,
> I am calling QVT transformations from Java. Can someone point me to the
> right API for configuring the generation of a trace file?
Not possible for now, it will be after resolution of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=282645.
I can fix it next week.
> Also, are the ExecutionContext configuration properties documented
> anywhere?
Not sure I understand any specific problem you have here.
Basically, you can setup a value for a property identified by its name.
Only primitive types for configuration properties are supported.
See http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava for a usage
example.
If you find anything unclear or wrong, let me know so we can fix it.
Regards,
/Radek
|
|
|
Re: [QVTO] How to generate a trace file [message #480935 is a reply to message #480840] |
Wed, 19 August 2009 01:39 |
Derek Palma Messages: 141 Registered: July 2009 |
Senior Member |
|
|
Hi Radek,
Regarding the configuration property question, I have no specific problem. I
just wanted to understand how they are used and what is available. I was
thinking that perhaps that is now you would configure trace file generation.
In the InvokeInJava example I did not understand what
context.setConfigProperty("keepModeling", true);
is for.
Derek
"radek dvorak" <dvorak.radek@gmail.com> wrote in message
news:op.uyu767tg12y5f2@kliste.local...
> Hi Derek,
>
>> I am calling QVT transformations from Java. Can someone point me to the
>> right API for configuring the generation of a trace file?
>
> Not possible for now, it will be after resolution of
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=282645.
> I can fix it next week.
>
>> Also, are the ExecutionContext configuration properties documented
>> anywhere?
>
> Not sure I understand any specific problem you have here.
> Basically, you can setup a value for a property identified by its name.
> Only primitive types for configuration properties are supported.
>
> See http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava for a usage
> example.
>
> If you find anything unclear or wrong, let me know so we can fix it.
>
> Regards,
> /Radek
|
|
|
Re: [QVTO] How to generate a trace file [message #480957 is a reply to message #480935] |
Wed, 19 August 2009 07:51 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Derek,
All configuration properties are declared in your transformation source
file.
The runtime execution takes care of values to properties binding,
in Java invocation via the ExecutionContext class.
There are no predefined configuration properties, these are only user
defined.
I think It should be clear from the OMG spec, but I can see we should not
rely too much
on the precondition that users have read it all ;).
I will try to complement the javadoc somehow.
/Radek
On Wed, 19 Aug 2009 03:39:04 +0200, Derek Palma <derek.palma@gmail.com>
wrote:
> Hi Radek,
>
> Regarding the configuration property question, I have no specific
> problem. I just wanted to understand how they are used and what is
> available. I was thinking that perhaps that is now you would configure
> trace file generation.
>
> In the InvokeInJava example I did not understand what
> context.setConfigProperty("keepModeling", true);
>
> is for.
>
>
> Derek
>
> "radek dvorak" <dvorak.radek@gmail.com> wrote in message
> news:op.uyu767tg12y5f2@kliste.local...
>> Hi Derek,
>>
>>> I am calling QVT transformations from Java. Can someone point me to
>>> the right API for configuring the generation of a trace file?
>>
>> Not possible for now, it will be after resolution of
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=282645.
>> I can fix it next week.
>>
>>> Also, are the ExecutionContext configuration properties documented
>>> anywhere?
>>
>> Not sure I understand any specific problem you have here.
>> Basically, you can setup a value for a property identified by its name.
>> Only primitive types for configuration properties are supported.
>>
>> See http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava for a usage
>> example.
>>
>> If you find anything unclear or wrong, let me know so we can fix it.
>>
>> Regards,
>> /Radek
>
|
|
|
Re: [QVTO] How to generate a trace file [message #481059 is a reply to message #480957] |
Wed, 19 August 2009 12:59 |
Derek Palma Messages: 141 Registered: July 2009 |
Senior Member |
|
|
Hi Radek,
I have read the Spec but can't say I remember it all... But I will search
for "configuration properties" in the spec.
Thanks,
Derek
"radek dvorak" <dvorak.radek@gmail.com> wrote in message
news:op.uywf4spw12y5f2@kliste.local...
> Hi Derek,
>
> All configuration properties are declared in your transformation source
> file.
> The runtime execution takes care of values to properties binding,
> in Java invocation via the ExecutionContext class.
> There are no predefined configuration properties, these are only user
> defined.
>
> I think It should be clear from the OMG spec, but I can see we should not
> rely too much
> on the precondition that users have read it all ;).
> I will try to complement the javadoc somehow.
>
> /Radek
>
>
>
> On Wed, 19 Aug 2009 03:39:04 +0200, Derek Palma <derek.palma@gmail.com>
> wrote:
>
>> Hi Radek,
>>
>> Regarding the configuration property question, I have no specific
>> problem. I just wanted to understand how they are used and what is
>> available. I was thinking that perhaps that is now you would configure
>> trace file generation.
>>
>> In the InvokeInJava example I did not understand what
>> context.setConfigProperty("keepModeling", true);
>>
>> is for.
>>
>>
>> Derek
>>
>> "radek dvorak" <dvorak.radek@gmail.com> wrote in message
>> news:op.uyu767tg12y5f2@kliste.local...
>>> Hi Derek,
>>>
>>>> I am calling QVT transformations from Java. Can someone point me to
>>>> the right API for configuring the generation of a trace file?
>>>
>>> Not possible for now, it will be after resolution of
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=282645.
>>> I can fix it next week.
>>>
>>>> Also, are the ExecutionContext configuration properties documented
>>>> anywhere?
>>>
>>> Not sure I understand any specific problem you have here.
>>> Basically, you can setup a value for a property identified by its name.
>>> Only primitive types for configuration properties are supported.
>>>
>>> See http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava for a usage
>>> example.
>>>
>>> If you find anything unclear or wrong, let me know so we can fix it.
>>>
>>> Regards,
>>> /Radek
>>
>
|
|
|
Re: [QVTO] How to generate a trace file [message #481157 is a reply to message #481059] |
Wed, 19 August 2009 20:12 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Derek,
> I have read the Spec but can't say I remember it all... But I will
> search for "configuration properties" in the spec.
No doubts, it's pretty a multiphase reading ;). Just wanted to put things
right,
I would like to encourage users to ask whatever in this newsgroup.
At least it should help to reveal unclear, unexplained areas that
a majority of people might face. /* if not already answered in previous
posts ;) */
The 8.2.1.1 section in the spec might give an understanding of this topic.
Regards,
/Radek
> Derek
>
> "radek dvorak" <dvorak.radek@gmail.com> wrote in message
> news:op.uywf4spw12y5f2@kliste.local...
>> Hi Derek,
>>
>> All configuration properties are declared in your transformation source
>> file.
>> The runtime execution takes care of values to properties binding,
>> in Java invocation via the ExecutionContext class.
>> There are no predefined configuration properties, these are only user
>> defined.
>>
>> I think It should be clear from the OMG spec, but I can see we should
>> not rely too much
>> on the precondition that users have read it all ;).
>> I will try to complement the javadoc somehow.
>>
>> /Radek
>>
>>
>>
>> On Wed, 19 Aug 2009 03:39:04 +0200, Derek Palma <derek.palma@gmail.com>
>> wrote:
>>
>>> Hi Radek,
>>>
>>> Regarding the configuration property question, I have no specific
>>> problem. I just wanted to understand how they are used and what is
>>> available. I was thinking that perhaps that is now you would configure
>>> trace file generation.
>>>
>>> In the InvokeInJava example I did not understand what
>>> context.setConfigProperty("keepModeling", true);
>>>
>>> is for.
>>>
>>>
>>> Derek
>>>
>>> "radek dvorak" <dvorak.radek@gmail.com> wrote in message
>>> news:op.uyu767tg12y5f2@kliste.local...
>>>> Hi Derek,
>>>>
>>>>> I am calling QVT transformations from Java. Can someone point me to
>>>>> the right API for configuring the generation of a trace file?
>>>>
>>>> Not possible for now, it will be after resolution of
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=282645.
>>>> I can fix it next week.
>>>>
>>>>> Also, are the ExecutionContext configuration properties documented
>>>>> anywhere?
>>>>
>>>> Not sure I understand any specific problem you have here.
>>>> Basically, you can setup a value for a property identified by its
>>>> name.
>>>> Only primitive types for configuration properties are supported.
>>>>
>>>> See http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava for a usage
>>>> example.
>>>>
>>>> If you find anything unclear or wrong, let me know so we can fix it.
>>>>
>>>> Regards,
>>>> /Radek
>>>
>>
>
|
|
| | |
Goto Forum:
Current Time: Fri Jan 03 03:39:06 GMT 2025
Powered by FUDForum. Page generated in 0.04315 seconds
|