Writing CFCs using UML with Poseidon
It seems the xmi2cfc tool from cfcxmi.tigris.org works only for Poseidon 2.x versions. The visio works well and poseidon can export the xmi as well but I still encounter problems during the xmi to cfc conversion.
I just bought a 1GB ram for my notebook since Poseidon peaks at 200MB. How to create cfc’s with Poseidon?
- Download and install Poseidon. Im using Poseidon 5 Professional.
- Download the poseidon custom templates from http://cfcxmi.tigris.org/.
- Extract it to Poseidon/lib/. You should have the ff directories:
Poseidon/
lib/
custom/
- Start poseidon
- Click on “Generation” -> “Java”
- Click on the ellipses tool and point to the custom templates.
- “Apply” the settings.
- Create your class
- Click on the source code to view your cfc.
I have made some changes to the templates to reflect the output=”false” and required=”true”. You can download the templates from here.