Hi all,

I filed a feature request against the java cartridge subproject today to provide generation of java interfaces from the UML Model.
I attached a small cartridge to the issue that does this.


I read on the mailing list before that there was some need for it, so if someone would like to try the cartridge there are the following steps to use it:

1. Download the interfaces-cartridge.jar attached to the jira issue http://jira.andromda.org/browse/JAVA-9
2. Drop it into the directory where all other cartridges are (andromda/jars)
3. Add the cartridge to your andromda script, looks like this for ant scripts (I don't know about maven)


<namespace name="interfaces" ignore="false">
<property name="languageMappingsUri" value="Java" />
<property name="wrapperMappingsUri" value="JavaWrapper" />
<property name="interfaces" value="${generated.dir}" ignore="false" />
</namespace>
4. Modelling: Modell your Interfaces as UML Interfaces ;-), Attributes modeled to the interface become constants, rest is very much like modelling a service.


Hope you like it, it something doesn't work for you please drop me a note.

Cheers,
Lars K�dderitzsch


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to