Book a Demo

Author Topic: Issue with Repository.CustomCommand in EA version  (Read 4881 times)

Paul Krcma

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Issue with Repository.CustomCommand in EA version
« on: July 30, 2011, 03:50:25 am »
Hello,

In EA v8, we built custom profiles (based on SysML 1.1) for our custom stereotypes that apply to Class, Interface, Part, Port types.  These extensions supported custom stereotypes with TaggedValues, that were synchronized correctly with the api with the Repository.CustomCommand with the following syntax format:("Repository", "SynchProfile", "Profile=<name>;Stereotype=<stereo>;").  All our stereotypes were properly synchronized with our automation.

After upgrading to EA version 9 build 908, and adding our custom profiles, our stereotypes for Class and Interface types are not being synchronized.  The Repository.CustomCommand returns "true" indicating the api found the profile and stereotype, however the TaggedValues are not being synchronized/updated.  All other types (Port, Part) are being synchronized correctly.

Has anyone seen this in Version 9?  Did the Repository.CustomCommand change ?

Thanks,
-Paul

Paul Krcma

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Issue with Repository.CustomCommand in EA vers
« Reply #1 on: August 03, 2011, 05:26:22 am »
I've been informed by Sparx Systems, that the Repository.CustomCommand is an internal Sparx systems development tool, and is not supported for external usage.

-Paul

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Issue with Repository.CustomCommand in EA vers
« Reply #2 on: August 03, 2011, 09:12:39 pm »
However, there is a confirmed issue that sych stereotypes (called from context) does not work.

q
« Last Edit: August 04, 2011, 07:08:47 pm by qwerty »

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.&lt;Pogo, 1970&gt;
    • View Profile
Re: Issue with Repository.CustomCommand in EA vers
« Reply #3 on: August 04, 2011, 09:22:47 am »
There is a bug (at least I consider it to be a bug) in the way EA handles stereotype synchronization. BTW - the old custom command to sync stereotypes is now a full=fledged documented command:
Code: [Select]
Repository.SynchProfile (string Profile, string Stereotype)For example, the bug arises when importing elements from a CSV file with stereotypes already defined in the CSV file. Subsequent attempts to sync the imported stereotypes with the appropriate profile fail due to the fact that the imported stereotypes, even though they have the same text as the stereotype in the profile, are not marked as coming from that profile. Thus, "requirement" is NOT the same stereotype as "SysML1.2::requirement", and attempts to sync "requirement" with "SysML1.2::requirement" fail.
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Issue with Repository.CustomCommand in EA vers
« Reply #4 on: August 04, 2011, 07:11:19 pm »
My observation is that synch does not work at all at this moment. We use our own profile and synching is only possible by using the old 7.5 installation. 9.0 just does not synch anything.

q.