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!
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.
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?
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...
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