--- Lofi Dewanto <[EMAIL PROTECTED]> wrote: > Hi Chad, > > here are what I've done: > > 1. Update to Poseidon 2.4.1 Community Edition. Now I > can > import the XMI file from MagicDraw also in the XMI > version 1.2, 1.1 > and 1.0 (it seems without problem) into Poseidon. > > I checked many things and it seems that the model is > just the same > as from MagicDraw. > > 2. Add the HibernateFinderMethodFacade in the > HibernateMetafacadeModel. > > 3. Compile the model. > > 4. Compile the Hibernate cartridge and voila no > error!!! ;-) > > I took a glance to the created source files, it > seems that they > are equal to the generated source from MagicDraw... > Great!
Great! Glad to hear its working..thanks for the update. > > Now my questions ;-) > > Since Poseidon does not support a "link" to other > model, it is > impossible to do the same as in MagicDraw (just > linking to the > UMLMetafacade). And because Poseidon Community does > not support > "import" files, it is also impossible to update the > whole UMLMetafacade > in case that you and AndroMDA team update those > models. -- Yeah its a pity posiedon doesn't have this...maybe you should ask them when/if they will have this ability? > > What will the best way to go? (to build my own > cartridge in Poseidon): > - Does it necessary to have all those UMLMetafacade? > Let's take > the Hibernate cartridge as an example: > Here is the generalization structure: > > HibernateFinderMethodFacade -> > EntityFinderMethodFacade -> > OperationFacade -> ModelElementFacade > > Is it enough to have these 4 clases in my Hibernate > cartridge > to let those clasess generated? Does the meta > cartridge also read > the associations between them, or only the > generalization? I don't think that will be enough unfortunately as things just as ParameterFacade, ClassifiterFacade, etc, etc will be referenced from HibernateFinderMethodFacade. > > If this is enough, maybe it is good just to have the > *needed* > classes in the Poseidon file, so in case that you > change the > UMLMetafacadeModel, it is not a lot of work to > update the model... > > Yes, this is not easy. :-( It's really pitty that > Poseidon Community > Edition does not support import files... Would be > pretty easy if > I can import the new UMLMetafacadeModel.xmi into my > Poseidon file > and just overwrite those classes... -- For now it sounds like the way you're doing it is the only way....you can update the model by importing through Poseidon right...then you'd probably just need to clean it up....a pain I know. You should ask the Poseidon developers and ask them when they'll have the refereced model support. Also not sure why you don't just use the community edition of Magic Draw? It has all the support you need for the metafacade modeling since its all class diagrams? > > Any ideas? > > Thanks a lot! > -- > --------------------------------------------------- > Blasius Lofi Dewanto > --------------------------------------------------- > OpenUSS - Open University Support System > http://openuss.sourceforge.net > --------------------------------------------------- > E-Mail : [EMAIL PROTECTED] > ICQ : 39343280 > --------------------------------------------------- > > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user