|
Re: Help on QVT (M2M) [message #496544 is a reply to message #496486] |
Tue, 10 November 2009 13:35 |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Rahul Chandrashekar,
1) You have to spent some time on research how to get an ecore based model
from your Java file first.
I assume you refer to a file containing a Java concrete syntax.
Once succeeded, you just get to the border of M2M domain as it deals
with model-model transformation.
Note, that M2M would give you only a model representation of your C
stuff, so another step would be converting
a C model to a corresponding C concrete syntax.
A simpler approach would be to use M2T, skipping the step of a C model
creation and
generating the C source code directly from the Java model.
2) QVTO debugger will be available in a week.
Regards,
/Radek
On Tue, 10 Nov 2009 10:54:51 +0100, Rahul Chandrashekar
<rahul.chandrashekar@in.bosch.com> wrote:
> I checked the example of QVT (UML to RDB) which is available within the
> IDE, it was useful in giving me the abstract knwoledge on the conversion
> and am looking to start with my own example. I want to convert a Java
> source file to a corresponding C file. Can any one in the forum help me
> out in mapping the rules required for conversion.
>
> Sample input java file:
>
> public class HelloWorld {
>
> public static void main(String[] args) {
> System.out.println("Hello World");
> }
>
> }
>
> 2)Also tell me what should the metamodel reference be.
>
> 3) Is it possible for me to debug the QVTO code?
>
> Thanks in advance.
> Rahul Chandrashekar.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02458 seconds