Hi

To generate java you are ok.
Normally the generated code is inside your project. Maybe you have some errors in your 
error log view. Can you check ?  (Window>  Preferences>  Show View>  Error Log)

To write code generators, i recommend you to use M2T technologies like Acceleo, 
XPand, JET,.... Documentation is available in these sites :

http://www.eclipse.org/modeling/m2t/ (new version of acceleo and xpand)
http://www.acceleo.org/ (old version of acceleo)

If you want to generate DXL code you have to start from a DXL metamodel or DXL 
xsd. And write a template able to parse this metamodel. All of this is very 
easy using Eclipse Modeling Framework (EMF). if you have more questions don't 
hesitate

Regards
Tristan

   Hi,

   I have some questions about topcased and code generation, I looked for 
tutorials on this subject but found nothing.

   1) How to generate Java ?
   ==========================

   I did :
   ->file->New->Project
   In the "new project" panel I chose "Topcased/Topcased Project"
   I selected the Models folder, then right click, new->UML Model with 
TOPCASED, the model name is testJava
   I draw two classes and a composite association
   I selected testJava.uml, right click, code generator->Generate Java

   Something is done ... , no problem occurred

   But where are the generated files ?

   Did I something wrong ?


   2) How to write his own code generator ?
   ============================================

   I have to write some DXL scripts, I wonder if I can do that using topcased 
as modeling tool, but for that I have to write a DXL generator for topcased 
model.

   I did not find a document on such subject.


   Sincerly,

   Bernard Granier
   CE Plateforme Système
   [email protected]
   01 58 11 32 51



   #
   " Ce courriel et les documents qui lui sont joints peuvent contenir des 
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas 
destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les 
reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous 
a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement 
de votre système informatique ce courriel ainsi que tous les documents qui y sont 
attachés."

   " This e-mail and any attached documents may contain confidential or proprietary 
information. If you are not the intended recipient, you are notified that any 
dissemination, copying of this e-mail and any attachments thereto or use of their 
contents by any means whatsoever is strictly prohibited. If you have received this e-mail 
in error, please advise the sender immediately and delete this e-mail and all attached 
documents from your computer system."
   #


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

<<attachment: tristan_faure.vcf>>

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

Reply via email to