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

Pages: [1]
1
I have spent a number of days attempting to work out what the load order should be for our 79 xml files in order to avoid getting errors.
The following items appear to cause EA to report an error:
- Loading a diagram which has an element displayed on it which is stored in a controlled package that has not been loaded.
- Loading an element that has Generalisation, Dependency or StateFlow where the supplier is in a controlled package that has not been loaded.

If anyone can add to this list it would be appreciated.

Gary

2
This is going to be a show stopper for my company.
The model that we are currently building up will have over 200 components in it and each of these is intended to be in it's own XMI file. As we are documenting a previous design we do not have the luxury of stating that there are to be no circular references and I am almost certain that some will exist.
Even if we do manage to detect and remove all circular dependencies and create a list of the order that components needed to be loaded in there is still a significant likelyhood that someone will accidently not load a component that is needed, and there is apparently no warning that this has happened, and we will then loose information when they save their portion of the model.

It seems to me that this is the same problem that exists with Rational Rose when using .cat files. However Rose used to just display a generic object with an 'M' in a circle in one corner to indicate that the detailed information was missing.

Could a similar thing be done by EA?

Gary

3
When I first created our current model I used automation to create the package hierarcy from an existing structure. Since this I have manually added packages to it as needed. Our model is stored as multiple XMI files, one for each 'leaf' package. Yesterday I noticed that when I imported some of the XMI files the tagged values did not show up in the model although they did before the export and are present in the XMI file itself. It turns out that the packages that are 'loosing' their tagged values, and stereotypes, are those that were originally created using automation. The packages created manually using the EA inteface work fine.

To test this theory I created a new EA repository and manually created a package called 'ParentPackage' and then used automation to create a package under 'ParentPackage' called 'AutomationPackage'. I manually added a stereotype and tagged value to both packages. I then exported 'ParentPackage' to XMI. When I reimported the package the stereotype and tagged value were still on 'ParentPackage' but not on 'AutomationPackage'.

The following is the element section of the XMI for the 'ParentPackage':
<element xmi:idref="EAPK_35A166BA_89DB_4474_BC31_9E4314FA79FB" xmi:type="uml:Package" name="ParentPackage" scope="public">
 <model package2="EAID_35A166BA_89DB_4474_BC31_9E4314FA79FB" package="EAPK_8E34FBF0_B51E_4d93_9D9E_650622C54FA1" tpos="0" ea_localid="3" ea_eleType="package" />
 <properties isSpecification="false" sType="Package" nType="0" scope="public" stereotype="parent" />
 <tags>
   <tag xmi:id="EAID_116EE24C_90ED_4f12_A2D5_1C4AC0ED26D6" name="Datafield" value="Parent" modelElement="EAID_35A166BA_89DB_4474_BC31_9E4314FA79FB" />
 </tags>
</element>

The following is the element section of the XMI for the 'AutomationPackage':
<element xmi:idref="EAPK_F717BF88_EB0E_4603_AFCC_04034265DDA3" xmi:type="uml:Package" name="AutomationPackage" scope="public">
 <model package2="EAID_BF3BE466_D217_402f_88A4_E8A6527738A6" package="EAPK_35A166BA_89DB_4474_BC31_9E4314FA79FB" tpos="0" ea_localid="4" ea_eleType="package" />
 <properties isSpecification="false" sType="Package" nType="0" scope="public" stereotype="child" />
 <tags>
   <tag xmi:id="EAID_6BCED1EC_B89D_47b1_9115_210282206CA4" name="Datafield" value="Child" modelElement="EAID_F717BF88_EB0E_4603_AFCC_04034265DDA3" />
 </tags>
</element>

For the 'ParentPackage' the GUID portion of the ID, 35A166BA_89DB_4474_BC31_9E4314FA79FB, is always the same. For 'AutomationPackage' there are two ones. Even more concerning is that the modelElement for the tagged value on 'AutomationPackage' is 'EAID_F717BF88_EB0E_4603_AFCC_04034265DDA3' which does not exist.

An extract of the C# code used to create the package is as follows:
myPack = (EA.Package)myPack.Packages.GetByName("ParentPackage");
EA.Package newPack = (EA.Package) myPack.Packages.AddNew("AutomationPackage", "Package");
newPack.Update();

Gary

4
Suggestions and Requests / Re: LocalPaths - consistency
« on: October 05, 2006, 09:34:34 pm »
Further to the Local Paths debate.
We store our model as xmi files checked into a centralised CVS repository. Individual developers check the xmi files out of the repository into a local sandbox on their PC. Whilst the directory structure within the sandbox is always the same the root of the sandbox can vary depending on where the developer chooses to store it on their PC. I would like to use the Package Control feature in EA but it would appear that path is aways referenced back to the drive and therefore would need to be different on each PC. Is there someway to use a relative path? Can the local path feature be used for referencing the model files as well as the code files?

Gary.

5
Suggestions and Requests / Re: Adding notes to a model element
« on: October 04, 2006, 10:59:19 pm »
I just noticed that I can't add a tagged value to a model either.  :'(

Gary

6
Suggestions and Requests / Adding notes to a model element
« on: October 02, 2006, 06:50:46 pm »
I have an EA repository which has a number of models under it which I would like to document using the notes field. However it appears that it is not possible to edit the notes for a model element. Can this be changed? Is there a workaround?

Gary

7
Suggestions and Requests / Placing model elements on a diagram.
« on: October 02, 2006, 06:52:30 pm »
I have an EA repository with a number of models in it. I would like to create a diagram that shows the relationship between these models but it does not appear to be possible to put model elements onto a package diagram. Can this be changed? Is there a workaround?

Gary

8
Suggestions and Requests / Re: Interaction Fragments as outliners
« on: September 27, 2006, 10:05:10 pm »
I'll add my vote.
One of the problems with the interaction diagrams is that they become to large, both horizontally and vertically. It would be good if when you collaped an area of the interaction diagram any columns for objects that no longer have lines drawn to them are also hidden thereby collapsing the diagram both vertically and horizontally.

9
General Board / 12207 Software Development Process
« on: January 10, 2008, 08:03:23 pm »
Hi,

I was just wondering if anyone had documented the 12207 Software Development Process in EA yet?


Thanks

Gary

10
General Board / BPMN Activity moves in Project Browser.
« on: January 18, 2007, 05:22:37 pm »
I am using the BPMN addin. A BPMN activity that I have created keeps moving it's location in the project browser.

I create a diagram (A). I put a pool (poolA) on diagram A and put a lane (laneA) in poolA. I then put a BPMN activity (X) in laneA.
In the project browser I now have:
<<Pool>> poolA
 <<Lane>> laneA
   <<Activity>> X

I then create another diagram (B). I put a pool (poolB) on diagram B and put a lane (laneB) in poolA. I drag the existing BPMN activity (X) into laneB.
In the project browser I now have:
<<Pool>> poolA
 <<Lane>> laneA
<<Pool>> poolB
 <<Lane>> laneB
   <<Activity>> X

If I then go back to diagram A and move activity X slightly the project browser changes to:
<<Pool>> poolA
 <<Lane>> laneA
   <<Activity>> X
<<Pool>> poolB
 <<Lane>> laneB

The parentage of the activity flip flops from one lane to the other depending on which diagram it was last moved on.

I believe that the activities should not be parented to the lane that they are displayed in but to their parent activity (if they have one).

11
Try:
Repository.ReloadDiagram(int DiagramID)

It has been working for me.

Pages: [1]