Re: XMI plugin for Middlegen
Aslak Hellesøy <[email protected]>
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Organization | ThoughtWorks |
| Message-ID | <[email protected]> |
Michael Henderson wrote:
>Hi,
> I'm a developer in the USA, making the switch from Java and
>WebObjects into mainstream J2EE and getting up to speed by studying for
>the J2EE Architect certification.
>
>Since doing works better for me than reading I have been looking at
>various open-source tools for design and modelling. Middlegen and
>AndroMDA have both caught my eye. I noticed a commented out XMI plugin
>in the samples, but only after I had started on my own plugin.
>
>It's a first cut but it can generate plain XMI and the Poseidon model
>file format.
>
>I had to change the generate() method signature in Plugin.java to:
>
>protected generate();
>
>In order to have my plugin class override the generation process to be
>able to create the Poseidon ZIP model file from two files produced by
>FileProducers.
>
>The plugin can be invoked from a middlegen ant task with:
>
> <xmi fileprefix="${name}" package="${name}" format="poseidon"
> destination="${build.xmi.dir}"
> />
>
>The format can be "poseidon" or "xmi"
>
>The XMI has tagged values for the SQL information in the class and
>attributes in the output model and I have made a first pass at
>incorporating the stereotypes and tagged values described in the
>AndroMDA documentation.
>
>The attachment includes both the XMI and Poseidon output from the
>example schema used in the samples and a modified Poseidon model with a
>diagram added to the model showing the classes and associations.
>
>The Poseidon models can be opened with the free community edition.
>
>I would be happy to continue on with this, perhaps firm up the AndroMDA
>tagging, add the ejb xdoclet javadoc tags which Poseidon can display in
>the source tab.
>
>To whom do I send my code for checking/submission, mail to alex at
>bekk.no bounced back at me.
>
>I may try to add the "omondo" repository format as an output format,
>although the free eclipse plugin
>
>Regards,
>
>
>Michael Henderson
>http://www.mjhenderson.com
>
>
>
Hi Michael. Great! Please post it here:
http://jira.codehaus.org/secure/BrowseProject.jspa?id=10110
Aslak
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive? Does it
>help you create better code? SHARE THE LOVE, and help us help
>YOU! Click Here: http://sourceforge.net/donate/
>_______________________________________________
>middlegen-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/middlegen-user
>
>
>
--
http://blogs.codehaus.org/people/rinkrank/
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/