Book a Demo

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 - natvig

Pages: 1 ... 3 4 [5]
61
Bugs and Issues / Connectors broken after Import as Model Branch
« on: July 30, 2009, 12:18:28 am »
We are working with very large scale models. The models will consist of hundreds of version controlled packages, some of which are used as framework components (read-only) in multiple models.

Suppose that a general component COMP_A is modeled as a package in model MOD_A and later exported as RELEASE 1.0 (using the XMI import/export). Subsequently, the XMI-file can be imported as a package COMP_A into another model MOD_B (or several other models that will make use of the general component). Later when COMP_A is updated in MOD_A and released as RELEASE 1.1 it is easy to replace the package in MOD_B with the new release by right-clicking on the package that is to be updated and importing the updated XMI file. Any connectors made to elements within COMP_A in MOD_B are preserved. (Obviously connectors from elements in COMP_A are not preserved, and general packages should therefore be made read-only using the Lock-feature, or by using mechanisms available in the used VCS.)

In an environment where 50 developers is contributing to the model and where components need to be configured into multiple platforms, for multiple customers, version control is required. The complex hierarchy of controlled packages is packaged and released using EA's model branch (EAB-file). Also version control branching will be required which is currently not very well supported in EA. We are well aware of the specific replacements that have to be made to the XMI files in order to support branching and handling of version controlled releases that are not residing in main trunk. These shortcomings could be accepted for now, if only the procedure outlined below would work.

Now, to the specific problem:

1. A model branch of package A is initially exported from model A. The model is version controlled and stored in Subversion under trunk.
2. A formal release of A is required and the files (EAB and XMI files) are therefore copied to the subversion release directory (using SVN, not EA).
3. The EAB file and all the XMI files are subsequently edited to reflect their new location within subversion.
4. A model B is subsequently created and a package A is created by importing the model branch. The model will then contain version controlled packages that are stored in the subversion release directory. People working in model B can now work with the initial release of A.
5. An updated release of package A (from model A) is subsequently made available by repeating steps 2 and 3.
6. People working with model B would now want to right-click on the package A and choose "Import as Model Branch..." again, but this is not possible. One way to overcome this problem is to temporarily turn off Version Control on every controlled package within the branch, and then do the "Import as Model Branch..." However, while doing this maneuver all connectors to the package A are removed. This is in contrast to XMI file import as described above, where connectors are preserved.

Questions

1. Why is it not possible to redo the "Import as Model Branch..." without turning off Version Control?
2. Why are all connectors broken when doing "Import as Model Branch..." after turning off Version Control?
3. When can we expect support for version control branching in EA?

/Hans

62
Automation Interface, Add-Ins and Tools / Re: API to get Sparx EA version
« on: February 09, 2015, 08:45:19 pm »
I believe this issue is even more complicated. I have two different installations of EA version 1112, on two separate computers both running Windows 7. The Windows region settings are identical on both computers. The dates stored in t_objectproperties table is 26/02/2020 on one of my computers, and 2020-02-26 on the other.

/Hans

63
I have sucessfully used the SQL query below in a fragment that extracts every requirements that is satisfied by the current element. The fragment is used in an RTF template for a system specification. I use it to extract requirements that are satisfied by a specific activity (function).

Code: [Select]
SELECT SourceObject.Name AS ObjectName, RequirementTable.Name AS RequirementName, t_connector.Connector_Type, t_connector.Stereotype AS ConnectorStereotype, RequirementTable.Note AS RequirementNote
FROM t_object AS SourceObject, t_object AS RequirementTable, t_connector
WHERE t_connector.Start_Object_ID = SourceObject.Object_ID
AND t_connector.End_Object_ID = RequirementTable.Object_ID
AND t_connector.Stereotype = "satisfy"
AND SourceObject.Object_ID = #OBJECTID#

The RTF fragment looks like this:

custom >
<<{ConnectorStereotype}>>      {RequirementName}
{RequirementNote}
< custom

64
Is the MDG Technology for SysML still supported? In the SysML Technology menu there is a menu Item called View Allocations. When the item is chosen no allocations are displayed. There are plenty of allocations in the model.

65
I was just about to create an OOSEM-profile that extends the SysML language. (OOSEM is a MBSE method promoted by INCOSE.) Without access to the UML4SysML metamodel this can't be done? Very disappointing! I thing that the profile mechanism of UML/SysML is very important and that the means to extend the SysML language according to SysML specification should be provided by Sparx.

Pages: 1 ... 3 4 [5]