Hi Jacques and Thibault, Thanks for your help, everything works now. I tried what Jacques suggested; my case was the second one, i.e. the UML2 was automatically included. Then, I included in the workflow the reference to the SysML metamodel that I found in the Thibault's example, and it worked fine. What I was missing was actually to reference the right SysML metamodel in the appropriate way within the workflow. By the way, is there a systematic way to know where in the installation the metamodels are, and how to reference them?
Thank you again, Francesco -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jacques LESCOT Sent: Tuesday, May 13, 2008 4:38 PM To: [email protected] Subject: Re: [Topcased-users] document generation for SysML Hi, See my comments below, Francesco Lanteri a écrit : > Hi all > > As a first experience on Topcased, I successfully extended the UML > document generator on the basis of the provided workflow and > templates. Now I would need to do the same for a SysML project. I read > the OAW documentation but I am still a bit confused. My problems are: > > 1. I suppose I need to include in the workflow a metamodel for SysML. > Where may I find the appropriate one? And in which form should it be > (e.g. ecore, java)? I downloaded the ecore metamodel from the SysML > project. Is this the right one? I tried to include it in my workflow > through the metamodelFile property but I did not succeed. Is this the > right approach? Yes, the *.ecore metamodel should be included into a source folder of your project. > > 2. As the ecore metamodel references the UML one, it should be > included as well. Right? I guess it should be included in the case the UML metamodel is referenced using a relative path. If reference is done using absolute path to the UML.ecore model provided by the UML project, I guess this is not necessary to include it : you can check this by trying to open the sysML.ecore model using the EMF tree structure editor : it there is no problems, you are in the second case. > > 3. Is there somewhere an example of a simple OAW workflow applicable > to SysML (similar to the one already provided for UML)? I am not aware of a such example but someone else may point you to an existing one. > > Thank you in advance for any hint, > Francesco > ------------------------------------------------------------------------ > > _______________________________________________ > Topcased-users mailing list > [email protected] > http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users -- Jacques LESCOT Solutions et Technologies ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 06 60 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users ------------------------------------------------------------------------------------------------------- Questa comunicazione contiene informazioni confidenziali ed e` riservata esclusivamente ai destinatari. Se ritenete di averla ricevuta per errore o di non essere il corretto destinatario siete pregati di eliminare il messaggio senza stamparlo, copiarlo, distribuirlo o usare questa informazione in alcun modo, e di notificare l'errore al mittente. This communication contains confidential information and is intended for the named recipient(s) only. If you believe that you have received it in error or that you are not the intended recipient, do not print, copy, disseminate or use this information in any way, and notify this error to the sender. -------------------------------------------------------------------------------------------------------- _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
