Sebastien Arbogast wrote:
Yes I've already done this tutorial but it's more a tutorial forIf you run it, it'll create <your project>/mda/project.xml (that file contains all the andromda configuration information for the project), take a look at the mda/project.xml and just cut and paste what you need into yours, you can then call "maven andromda:run" from within the directory that contains the project.xml with the andromda configuration.
andromdapp plugin than for andromda. And I don't want to use
andromdapp as I already have a code base and it is a web application,
not an enterprise one. I just need some information to understand how
to use andromda:run with Hibernate cartridge to generate .java and
.hbm.xml files starting with my .xml.zip model file.
On 4/14/05, Chad Brandon <[EMAIL PROTECTED]> wrote:
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 [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
