Alright. This is more concrete :oP Does this method need to be static ? On 4/15/05, Tim Dysinger <[EMAIL PROTECTED]> wrote: > Make sure your User class is marked with the stereotype of "Entity" in > your model. Add a classifier method to it called "findAll" [or whatever > you like to call it] and mark that method with the stereotype of > "FinderMethod". [Run andromda:run again and Bam! you'll have data > access and entities] > > On Fri, 2005-04-15 at 13:23 -0500, Sebastien Arbogast wrote: > > Ok so I tried this, I made a lot of cut'n'paste from project.xml, > > maven.xml and project.properties, at root as well as in mda subfolder > > (I don't like doing that because it doesn't really help me understand > > how things work) and I tried to adapt the values of some properties. > > Finally I managed to obtain a "BUILD SUCCESSFUL" when runnin "maven > > adromda:run" but what a frustration when I observed that nothing > > related to my User class had been generated. I just have a > > org.andromda.persistence.hibernate package in my source directory with > > two java files inside : HibernateByteBlobType.java and > > HibernateStringClobType.java. And there's also a HibernateUtils.java > > file in my package source directory. > > Here is my andromda log for this operation : > > > > andromda:run: > > [echo] +--------------------------------------------+ > > [echo] | R u n n i n g A n d r o M D A | > > [echo] +--------------------------------------------+ > > INFO [AndroMDA] > > INFO [AndroMDA] A n d r o M D A - 3.0-RC1 > > INFO [AndroMDA] > > INFO [AndroMDA] Input model --> > > 'jar:file:/C:\dev\pfe\schaman/src/uml/schaman.x > > ml.zip!/schaman.xml' > > INFO [AndroMDA] -- discovering plugins -- > > INFO [AndroMDA] found translation-library --> 'validation' > > INFO [AndroMDA] found cartridge --> 'hibernate' > > INFO [AndroMDA] found cartridge --> 'java' > > INFO [AndroMDA] -- discovering metafacades -- > > INFO [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to > > 'default' na > > mespace > > INFO [AndroMDA] found metafacades --> 'hibernate' > > INFO [AndroMDA] Referenced model --> 'jar:file:C:\Documents and > > Settings\daneel > > \.maven\repository\andromda\xml.zips\andromda-profile-3.0-RC1.xml.zip!/andromda- > > profile-3.0-RC1.xml' > > INFO [AndroMDA:hibernate] Output: > > 'file:/C:/dev/pfe/schaman/src/java/org/androm > > da/persistence/hibernate/HibernateByteBlobType.java' > > INFO [AndroMDA:hibernate] Output: > > 'file:/C:/dev/pfe/schaman/src/java/org/androm > > da/persistence/hibernate/HibernateStringClobType.java' > > INFO [AndroMDA:hibernate] Output: > > 'file:/C:/dev/pfe/schaman/src/java/ca/polymtl > > /larim/schaman/HibernateUtils.java' > > INFO [AndroMDA] completed model processing --> TIME: 17.826[s], RESOURCES > > WRITT > > EN: 4 > > INFO [App] BUILD SUCCESSFUL > > INFO [App] Total time: 35 seconds > > INFO [App] Finished at: Fri Apr 15 14:05:46 CDT 2005 > > INFO [App] > > > > Pleaase... help ! > > > > Thx 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 >
-- 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 Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user