Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bknoth2

Pages: [1] 2 3 ... 5
General Board / Modified C++ code templates and code generation
« on: January 18, 2019, 11:48:13 am »
I've modified templates successfully before. Now I'm modifying a template and generating code, but the changes don't show up in the new code. I can even close and reopen the model, open the template again, see my changes and regenerate and they still don't show up in the source file (the source file has an updated time, so I know it is getting regenerated). It's as if the old template is cached somewhere. Any ideas?

FYI: I'm modifying an STM_C++ template with version 13.5 of EA.

My workflow when I'm not quite sure about sync status or trying to resolve synchronization issues is:

1) Confirm the source is committed to a version control system so it can be recovered easily
2) Generate the code directly from EA
3) Diff the generated code with what is in the code repository to see what the differences are.
4) If EA did not generate the code as expected, revert the code from the repository so it gets back to the state it was in step 1)
5) Synchronize the class in EA with the reverted source files.
6) Generate the code again from EA
7) Diff the code again. Now I don't expect to see any significant differences from the original code.

This process lets me see if there is significant new content in EA (step 3) and also identify and fix any errors in the model (steps 3 and 7).

General Board / Re: Cannot move state machine diagram between packages
« on: November 21, 2018, 03:17:23 am »
Try right-clicking the diagram and selecting "hide diagram frame."

General Board / Re: CMAKE project
« on: November 14, 2018, 03:38:20 am »
CMake is not involved. Import the C++ files directly. Use "Code/File/Import Source Directory" to import the folder(s) that hold the source. Just try it to see how it works. There's no risk and you may end up doing it a few times as you learn how it works.

For the record, I had to reboot for other reasons and the diagram types came back.

Thanks. I was contemplating a reinstall and thought I'd ask first. I'm hoping a new rev comes out soon and I can use that as my reinstall.

EA Rev 14.1.1427

1) I right-click a package, select "Add Diagram".
2) A box pops up with two entries on the left: "UML Structural" and "UML Behavioral."
3) UML Structural has six entries on the right, under "types." UML Behavioral has none, so I can't add, for example, state diagrams

(I resorted to version 13.5 to add the diagram I needed).

Any suggestions?


General Board / Re: Virtual Documents with EA14
« on: September 11, 2018, 04:26:03 am »
I just found it by following the search instructions here:

and typing in "document". That led me to the Extended::Documentation toolbox. There's probably other ways, too.

Good luck

General Board / EA Code Generation and a git-based workflow?
« on: August 31, 2018, 09:34:35 am »
Code generation and git-based workflows

I am defining a class structure and round-tripping code (EA to C++ to EA, as needed). The code is maintained in git. Git lends itself to branch-based development, meaning that different branches in the git repository are used to develop specific features. Does anyone have a good process for keeping a model in synch with code on several git branches?


I'm not sure it matters all that much. If you are comfortable doing it with eap files, then do the merge that way and then transfer. Keep backups along the way.

The title is not a typo.

1) Open a sequence diagram
2) Right click a connector that designates a message. Select properties
3) A "Connector Properties" dialog opens which has two tabs at the bottom ("Connector Properties" and "Connector Notes")
4) If you don't see a "Notes" window at the bottom of the "Connector Properties" tab, drag the bottom of the dialog down to expand the view and review the (stealth) notes field below the "control flow type" box

Now there is a "Notes" box visible on the properties tab and there is an entire notes box on the "Connector Notes" tab. What is the difference? I know they are different because notes typed into the window on the properties tab show up on the diagram if sequence notes are visible but "connector notes" don't.

Given that, at least on my system, the "Connector Properties" opens in a way that hides the notes window at the bottom (see step 4) above) it took me an hour over two days to figure out why my notes don't show up on the diagram (which I was typing in through the "Connector Notes" tab) but notes entered through V13.5 do. To make it worse, notes entered through V13.5 seem to show up in both notes fields (the one on the notes tab and the one revealed by step 4) above) but notes entered through V14's "Connector Notes" tab don't show up on the diagram but those entered through the properties tab do.

Glad to hear it! Thanks.

I want to get some experience with 14 before I have others do the upgrade.

Thanks for your reply.

Three of us are using EA13.5 with a Postgres database. I'm considering running phasing in version 14, so we'd have 13.5 and 14 using the same DB. Is anyone doing that? Any problems?


Thanks Simon and qwerty,

I figured there was a simple answer.

- Bruce

Pages: [1] 2 3 ... 5