Title: Raphaël FAUDOU
Hi all,
please fill free to submit a bug if you think TOPCASED should have stored some information that are missing...
regards
raphaël

[email protected] a écrit :
Hello Richard,

Good to see that you tried our generator!

I looked at the Acceleo template that produced those messages and it seems that the qualifiedName of your model class is not filled. I tried to create a model containing a simple Class using Topcased UML, and it seems effectively that the Class qualifiedName remains empty. Is it a known issue of Topcased?

Anyway, this issue only impacts the generation of file header comments, so you should be able to generate some coherent code even with those messages.

Regards,
Gonzague.

[email protected] a écrit :

Hallo Gonzague,

 

I’ve tried to make a test with a class  containing one attribute a:int32 and one operation Init(). In the log file I see:

 

-> Errors in file : DefaultName/Class1.h

Position 57 : EVAL : Empty feature evaluation, in file : /org.acceleo.module.pim.uml21.gen.c/org/acceleo/module/pim/uml21/gen/c/lib/common.mt, at line : 43, at column : 29, for object : fragment=_WlRsUDrZEd6ay9smG1WNZw file=/resource/delete_uml_test/Models/DefaultName.uml

 

 

-> Errors in file : DefaultName/Class1.c

Position 57 : EVAL : Empty feature evaluation, in file : /org.acceleo.module.pim.uml21.gen.c/org/acceleo/module/pim/uml21/gen/c/lib/common.mt, at line : 43, at column : 29, for object : fragment=_WlRsUDrZEd6ay9smG1WNZw file=/resource/delete_uml_test/Models/DefaultName.uml

 

Best regards,

 

Richard

 

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von [email protected]
Gesendet: Montag, 4. Mai 2009 10:23
An: [email protected]
Betreff: Re: [Topcased-users] Question about new primitive type

 

I took a look to the Topcased UML to C generator, it seems that the default behavior for unknown primitive types is to generate "void*". I didn't see a simple way to add your custom type to the type translation table.

You should try the new generator made by Obeo : http://www.acceleo.org/wiki/index.php/UML_2.1_to_C
This generator is still in incubation phase but in the future, it should replace the Topcased UML2C generator. In this generator, the name of unknown primitive types is taken to produce the generated code, it is up to you to provide the type definition by including your own external libraries.
Feel free to provide any feedbacks on this new generator.

Regards,
Gonzague.

[email protected] a écrit :

Hello Gonzague,

 

I’ve tried that for C. I’ve already look on the template “header”, where is called something like “getCtype()”. More I did not yet checked.

 

Best regards,

 

Richard

RG Mechatronics

 

 

Von: [email protected] [mailto:[email protected]] Im Auftrag von [email protected]
Gesendet: Mittwoch, 29. April 2009 13:52
An: [email protected]
Betreff: Re: [Topcased-users] Question about new primitive type

 

Hello Richard,

Can you precise which code generator you are using here?

Best regards,
Gonzague Reydet
Obeo

[email protected] a écrit :

I want to add a new type int16 and I want to generate also this type with Acceleo. What I’ve found in docu: “Create a new primitive type…”.

But I can’t find how to specify a generated code. It always return “void*”. Exists some documentation about it, or some other hints?

 

Thank you

 

Richard

 
 


  
 
 
  
 
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users





-- 
Gonzague Reydet
Obeo
Model Driven Company
 

 
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users




-- 
Gonzague Reydet
Obeo
Model Driven Company

_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users


-- 
Gonzague Reydet
Obeo
Model Driven Company

_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

--

Image Signature IOC Raphaël FAUDOU
Responsable cellule Innovation / bureau méthodes
Head of Innovation & Method Definition
Atos Origin

Tel     : +33 (0)5 34 36 32 89
Tel     : +33 (0)6 10 53 50 44
Mail   : [email protected]
Atos Origin
6, Impasse Alice Guy
BP 43045
31024 Toulouse Cedex 3, France

P Avant d'imprimer cet e-mail, pensez à l'environnement. Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
P Please consider your environmental responsibility before printing this e-mail. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to