Thanks Lofi!
Your procedure works perfectly. Personnally I gotta say I prefer the poseidon ui and will stick to it.
Lofi Dewanto wrote:
Sorry,
it seems that someone (AndroMDA mailinglist admin) rejected my email because it is too big. I thought this info could be interesting to other AndroMDA users with Poseidon... (so that Chad does not have to answer the same question again and again :-))
So I deleted all the attachments. If someone interested on the attachments, just drop me an email.
Thanks, Lofi.
---------
Hi Francois, Chad, AndroMDA team,
here is the HOW-TO for Cartridge Developer with Poseidon, maybe someone can put this in the documentation of AndroMDA:
--------------------------------------------------------- 1. Use Poseidon Community 2.4.x.
2. Preparation for the XMI file UMLMetafacadeModel. 2.1. If you have MagicDraw: 2.1.1. Export the file UMLMetafacadeModel-3.0M2-SNAPSHOT.xml.zip as an XMI 1.2 file. Rename it as UMLMetafacadeModel-1.2.xmi file.
2.2. If you don't install MagicDraw: 2.2.1. Use the UMLMetafacadeModel-1.2.xmi I attached.
*To Chad* Maybe you could always export this file from MagicDraw and put it in the AndroMDA 3.x distro, so that we always have this file in XMI 1.2 format?
3. Create a new project in Poseidon, called it <Your cartridge name>MetafacadeModel and merge the UMLMetafacadeModel-1.2.xmi in your project. In case of the Hibernate cartridge, you call it HibernateMetafacadeModel.
4. Create your own classes for your cartridge. In case of the Hibernate cartridge, you create a new class, called: HibernateFinderMethodFacade which extends the class EntityFinderMethodFacade.
5. Compile your model to get the generated source codes with the AndroMDA Meta cartridge. 5.1. If you use Ant Please use the Ant task. An example is attached: build-andromda.xml with its build.properties. 5.2. If you use Maven:
*To Chad* Maybe you can put the name of the Maven goal here, because I don't know the name :-)
6. Implement the necessary classes. Don't forget to add the META-INF information, Templates, etc. which build a cartridge in AndroMDA, just as usual.
6. Compile the whole cartridge. 6.1. If you use Ant. Please use the Ant task. An example is attached: build.xml with its build.properties. 6.2. If you use Maven:
*To Chad* Maybe you can put the name of the Maven goal here, because I don't know the name :-)
7. That's it. Just use the compiled Jar file as your cartridge! ---------------------------------------------------------
Hope this helps!
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
