Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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!
-
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
-
Hi,
It might because of your edition. Generating behavioural code needs Unified edition or higher.
HTH,
-
Hi,
It might because of your edition. Generating behavioural code needs Unified edition or higher.
HTH,
You are right,thanks!