Hi Adolfo 
 
Christian moved over to UML definitions, which are much less pleasant
to edit Simple Ecore-style. 
 
After updating the UML you select the GENMODEL and do Reload... from
UML, LOAD Next and the ECORE is updated. 
 
My problem was that somehow the .JETEmitters project had decided that
Workspace compatibility meant 1.4! 
The quickfix created a .settings file defining 1.5, which is not 
needed on another machine. Nightmare. 
 
    Ed 
 
Adolfo Sánchez-Barbudo Herrera wrote:
  
Hi Ed, 
   
I'm afraid that I will need some basics to work from UML perspective, I
mean, to generate code I have always worked with .ecore files, never
with .uml files. Could you explain me what you mean when you say
"reload to recreate the Ecore model". 
   
Just taking the OCLCST.genmodel, I'm successfully able to generate the
model code (with no changes in the generated classes, as expected). 
   
Cheers, 
Adolfo. 
   
Ed Willink escribió:
  Hi  
     
Does anyone understand JET templates?  
     
Having added 'static' to the UML CST model, I can successfully reload
to recreate the  Ecore model, but invoking  Gen Model for which there
are custom templates to preserve API compatibility, I get tons of
failures all complaining that my Java version must be 1.5, which it is.
     
     
Can anyone successfuly invoke Gen Model for OCLCST.genmodel?  
     
   Ed  
     
_______________________________________________  
mdt-ocl.dev mailing list  
    mdt-ocl.dev@xxxxxxxxxxx  
    https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev
     
     
   
   
  --  
  
  
  
    
      
          
         | 
          Adolfo
Sánchez-Barbudo Herrera 
        adolfosbh(at)opencanarias(dot)com 
C/Elías Ramos González, 4, ofc. 304 
38001 SANTA CRUZ DE TENERIFE 
Tel.: +34 922 240231 / +34 617 718268  | 
       
    
   
   
   
  
 
_______________________________________________
mdt-ocl.dev mailing list
mdt-ocl.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev
   
 
 
 |