Book a Demo

Author Topic: Code generation does not generate activity diagrams  (Read 3329 times)

fy1997

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Code generation does not generate activity diagrams
« 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!

jfzouain

  • EA User
  • **
  • Posts: 152
  • Karma: +6/-1
    • View Profile
Re: Code generation does not generate activity diagrams
« Reply #1 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
Best regards

Jose Zouain

Takeshi K

  • EA User
  • **
  • Posts: 620
  • Karma: +41/-1
    • View Profile
    • Sparx Systems Japan
Re: Code generation does not generate activity diagrams
« Reply #2 on: June 09, 2020, 11:49:10 am »
Hi,

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

HTH,


--
t-kouno

fy1997

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Code generation does not generate activity diagrams
« Reply #3 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!