Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: fy1997 on June 08, 2020, 06:30:23 pm

Title: Code generation does not generate activity diagrams
Post by: fy1997 on June 08, 2020, 06:30:23 pm
Hi!

I have a question about code generation.When I use the EAexample to generate code for activity in EAexample/softerware engineering/Java model with behaviors/TestSelectionSort,I found a problem that EA can't generate code for the activity diagram.I can't find why,does anyone know?

Thanks a lot!
Title: Re: Code generation does not generate activity diagrams
Post by: jfzouain on June 09, 2020, 02:34:07 am
Hi

This one is a little bit tricky, follow this link, it may help you.
The activity diagram has to have actions and it should be under the class.

I have been working in this for the last month and it takes time to work the first time.

file:///C:/Program%20Files%20(x86)/Sparx%20Systems/User%20Guide/modeling/operationsdetail.html

Will include a chapter on code generation in my new eBook soon:

https://leanpub.com/umlerpworkshop-report-sdd
Title: Re: Code generation does not generate activity diagrams
Post by: Takeshi K on June 09, 2020, 11:49:10 am
Hi,

It might because of your edition. Generating behavioural code needs Unified edition or higher.

HTH,


Title: Re: Code generation does not generate activity diagrams
Post by: fy1997 on June 09, 2020, 06:16:09 pm
Hi,

It might because of your edition. Generating behavioural code needs Unified edition or higher.

HTH,

You are right,thanks!