Sebastian asked:

> i have some questions about the xmiwriter used by argouml.
> how are the UmlPackage Classes generated (model-mdr/build folder)?

All derived artifacts are created by the Apache Ant build scripts.  

Are you talking about org.omg.uml.UmlPackage?  It is created from the OMG
UML 1.4 metamodel (the machine readable XMI version) using a NetBeans MDR
utility.

> i want to reuse the argouml xmiwriter to create an xmi, which 
> mainly contains statecharts. The file should be imported to 
> rhapsody. Rhapsody only imports statecharts, which are 
> contained by a class. Which classes need to be modified, in 
> order that such an xmi is created.

ArgoUML can model a StateMachine which is owned by a Class and the XMI
writer just generates whatever is in the model.  Have you tried changing the
way you model things to match what Rhapsody expects?  If ArgoUML won't let
you model something that you need, it would be better to fix ArgoUML
(providing it's not competely non-standard), rather than patching the XMI
writer after the fact.

If you do, in fact, need to make changes to the XMI, have you considered
using XSL to make whatever changes you need rather than modifying the XMI
writer?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to