Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] JET to generate c and h code



Suresh,

Please use the newsgroup for questions.

It sounds like instead of (or in addition to generating .java files) you'd
like .h and .c files generated as well.   You'd probably want to reuse the
stuff in org.eclipse.emf.codegen.ecore for this purpose.   Right now
there's no simple way to have additional templates be invoked during
generation without extending the GenModel code, but we plan to enhance
extensibility during the next development cycle to make this easier.   JET
templates can be used to produce anything, i.e., we generate plugin.xml and
plugin.properties too.


Ed Merks/Toronto/IBM@IBMCA
mailto: merks@xxxxxxxxxx
905-413-3265  (t/l 969)




                                                                           
             "Suresh Krishna M                                             
             (RBIN/EDM2) *"                                                
             <Suresh.KM@xxxxxx                                          To 
             ch.com>                   <emf-dev@xxxxxxxxxxx>               
             Sent by:                                                   cc 
             emf-dev-admin@ecl                                             
             ipse.org                                              Subject 
                                       [emf-dev] JET to generate c and h   
                                       code                                
             09/10/2004 01:06                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                  emf-dev                                                  
                                                                           
                                                                           




Hello all,

             Its been a great experience in using the EMF for our
modelling.
             Without any arguments i fell flat for the power of EMF (for my
kind of application).

             Now i am stuck up with a conceptual problem:
             I have a huge EMF model in eclipse and i want to generate c
and
h files out of this model,
             with the help of JET. Is there anyway that i can configure the
JET to do this.

             I am not sure if i can do this with JET or JET is only for the
java code generation?
             Please let me know any possibilities and any other references
for the examples.

Thanks in advance,
Krishna
_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/emf-dev




Back to the top