Have you gone through this?:
http://team.andromda.org/docs/starting.html#My_first_AndroMDA_project
Sebastien Arbogast wrote:
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...
-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user