Menu

Argouml

2003-01-15
2003-01-15
  • arash bijanzadeh

    I noticed that uml2ejb cann't handle ArgoUML generated files.It is really bad because Argo is the only true opensource uml tool. Will you going to consider Argo's zargo files as a have-to-be in uml2ejb supported formats?

     
    • Matthias Bohlen

      Matthias Bohlen - 2003-01-15

      <quote>
        I noticed that uml2ejb cann't handle ArgoUML
        generated files
      </quote>

      Sure, it can! You only have to adjust your build.xml file.

      I'll tell you why and how:

      UML2EJB accepts XMI files from different CASE tool products. These files are always a little different, depending on the underlying UML metamodel and XMI version (ignore this, if you don't know what it means).

      We have two different XSLT stylesheets that handle the input translation of different XMI dialects into a UML2EJB-internal XML format called "simpleOO":

      xmi-to-simpleoo.xsl: translates XMI output written by ArgoUML, Poseidon (up to V1.4.x) and Rational Rose (with UniSys XMI plug-in installed)

      xmi12-uml14-to-simpleoo.xsl: translates XMI output written by Poseidon (V1.5.x and later)

      The sample build.xml file references the second stylesheet. To handle ArgoUML output, you simply have to change this to use the first stylesheet.

      That way, UML2EJB should work fine with ArgoUML.

      Cheers...
      Matthias Bohlen
      http://www.mbohlen.de/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.