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?

  1. Download and install Poseidon. Im using Poseidon 5 Professional.
  2. Download the poseidon custom templates from http://cfcxmi.tigris.org/.
  3. Extract it to Poseidon/lib/. You should have the ff directories:

Poseidon/
lib/
custom/

  1. Start poseidon
  2. Click on “Generation” -> “Java”
  3. Click on the ellipses tool and point to the custom templates.
  4. “Apply” the settings.
  5. Create your class
  6. 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.