Hi, I'm just discovering AndroMDA and I'm trying to use it for a simple example. I want to use AndroMDA to generate my classes and Hibernate mapping from my UML model made with MagicDraw so here is what I've done so far : 1 - modelled a simple User class with three members : <<Entity>> User -------------------------------- <<Identifier>>-id:Long <<Unique>>+username:String +password:String
For datatypes and stereotypes, I loaded AndroMDA datatype and stereotype resource provided in my local repository. 2 - I added the XML model fil URI in project.xml (my project is already using Mavenas a build system) 3 - I downloaded AndroMDA Maven plugin But now, a few question remains - How do I indicate that I want to use Hibernate cartridge to process this model, and how do I configure it (where to put the generated files for example) ? - What are the properties I have to set concretely in project.xml ? - What command do I have to execute ? - How do I make the link between platform independant types and java ones ? - What is it going to generate as code exactly ? What about the general configuration file ? Because I don't want to use the generated files directly, I want to integrate them into Apache Cocoon so I've already setup a datasource connexion and other technical tools to get things working with Cocoon. In a general way, could anyone give me more details about the overall building process with Maven, AndroMDA and Hibernate cartridge ? Or maybe a link to some existing and practical documentation.... Thank you very much in advance... -- Sebastien ARBOGAST ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
