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

Pages: [1] 2
1
Suggestions and Requests / Operation usage
« on: August 12, 2005, 12:42:37 am »
Although I know it is not a new request I would like to start a new topic on operation usage because it is an important feature. In nowadays complex systems one should be able to find out where a particular operation is used. I created a simple query to simulate operation usage. With the following SQL you can find out in which sequence diagrams a particular operation is called and which object is calling the operation.

Code: [Select]
SELECT t_connector.Connector_ID, t_connector.Name, t_diagram.Package_ID, t_package.Name, t_connector.DiagramID, t_diagram.Name, t_connector.Start_Object_ID, t_object.Name
FROM t_object INNER JOIN (t_package INNER JOIN (t_connector INNER JOIN t_diagram ON t_connector.DiagramID = t_diagram.Diagram_ID) ON t_package.Package_ID = t_diagram.Package_ID) ON t_object.Object_ID = t_connector.Start_Object_ID
WHERE (((UCase([t_connector].[Name])) Like UCase([OperationName] & "*")) AND ((t_connector.Connector_Type)="Sequence"));


This solution is rather 'quick and dirty' but instead of writing something decent myself by means of the automation interface, I would like to see this kind of feature in EA.

Besides I think it would also be useful to check in which operations a particular object is used (as return type or parameter). At first sight the relationship matrix seems suited for representing the results of both of these usages. Any feedback is appreciated.

2
General Board / Re: Beginner
« on: October 20, 2006, 03:21:16 am »
If you need help regarding the repository connection you could check the white papers about deployment of Enterprise Architect or version control.
http://www.sparxsystems.com.au/resources/whitepapers/index.html

The hrlp file is available at the EA section of this website: http://www.sparxsystems.com.au/products/ea.html

3
General Board / Logging of controlled packages
« on: October 19, 2006, 11:36:55 pm »
In EA an option exists to write a log file when importing/exporting xmi-files. These log files are written in the directory where the xmi-files are stored.

I thought you could do the same for controlled packages. The "package control options" dialog box contains a checkbox Log Import/Export. However I cannot find any log files when this option is checked. I looked in several directories: working folder of version control repository, directory containing EAP file, EA installation folder,... Anyone an idea?

4
General Board / Re: Messages disappearing in sequence diagram!
« on: July 06, 2006, 03:28:53 am »
We have a similar (but completely different) problem. We also create sequence diagrams with elements from version controlled packages (EA build 769). In our case messages do not disappear but unwanted messages appear on sequence diagrams.

When someone creates a sequence diagram, checks everything in and another user checks the diagrams out unwanted messages appear on the diagram. When you create a new sequence diagram and drag objects on it it is also possible that EA automatically ads messages.

I had a look at the EA repository and found out that the t_connector table contains the messages (Connector_Type = Sequence). For some of these messages the DiagramId = 0. Apparently these are the messages which appear on every sequence diagram and are automatically drawn when you create a new sequence diagram. My first assumption was that there is a difference between a hard delete and a soft delete of messages in a sequence diagram. Suppose you make a mistake when drawing a sequence diagram and you delete a message but only from the diagram (soft delete) instead of from the repository (hard delete). After looking at the t_connector table I had the idea that users could unintendedly soft delete messages. However, I was not able to reproduce soft deletes with a test project.

Moreover, we cannot get rid of these unwanted messages. We can delete them from the sequence diagrams or from the t_connector table but for one reason or another they reappear afterwards. Is this caused by checking in, working with multiple users,...?

Would upgrading to a newer version of EA also solve our problem?

5
General Board / Parameter detail of messages in sequence diagram
« on: August 02, 2006, 03:15:55 am »
By means of the Properties dialog of a sequence diagram you can change which parameter details of the messages are shown. Possible options are: none, type only, full detail, and name only. If I select none the parameter details disappear as expected. The 3 other options however seem to have the same effect: only the names of the parameters are shown (even if I select Tpye only or Full details).

Did anyone else notice this behaviour? Anyone aware of a solution?

6
General Board / Re: How to add more than one model in same reposit
« on: May 31, 2006, 04:22:57 am »
Besides the threads on this forum you could also check the whitepapers on the EA site: http://www.sparxsystems.com.au/resources/whitepapers/index.html

The ones about deployment and version control are probably interesting for you.

7
General Board / Re: Combing models from others into 1
« on: May 17, 2006, 04:40:25 am »
You could have a look at 2 white papers http://www.sparxsystems.com.au/resources/whitepapers/index.html

The one about deployment describes different possibilities for a multi-user set-up. The one about version control is interesting if you choose to use a version control repository.

8
General Board / Re: Do i have to "patch"
« on: March 07, 2006, 07:05:50 am »
As I understand it a patch is an upgrade (or new build) for the same version number. So if you previously installed an older version you have to run the full set-up, if you already had version 6.1 installed (but a previous build) you should use the patch. This is how I do my upgrades and this seems to work fine.

9
General Board / Re: EA-6.0 and endless DAO.Fields/DAO.Database pop
« on: March 07, 2006, 07:00:16 am »
We experienced the same problems with regards to the DAO.Recordset[3022] problem. Lots of pop-ups appeared when we tried to check out packages or do a GetLatest. Initially the number of pop-ups was limited but recently the number exploded to several thousands of pop-ups. Doing a CheckOut or a GetLatest became very painful. We looked for the problem and were finally able to solve it. Although the response is quite late and our problem may be very specific I post our solution for those who are interested.

We have several EA models of which the packages are version controlled by means of Visual SourceSafe repositories. We migrated from Rational Rose to Enterprise Architect about a year ago. Most of our models were initially created in Rational Rose and were re-imported in Enterprise Architect. We found out that our problems were related to "Rational Rose legacy" that was stored in our xml packages. I created another post for a problem with an "Out of memory" exception which was also caused by Rational Rose legacy (http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1121254739;start=6#6)

I checked the packages that invoked the DAO.Recordset[3022] error. It appeared that these packages contained lots of lines like the following:
Code: [Select]
<UML:TaggedValue tag="rose_uuid" value="3EC87A0C029D" xmi.id="EAID_7FE08CAA_3A9F_4d94_8964_77C035D41FC4"/>
<UML:TaggedValue tag="rose_uuid" value="3EC87A0C029D" xmi.id="EAID_7494AAFB_5DCC_41f0_86A3_179835567B74"/>
<UML:TaggedValue tag="rose_uuid" value="3EC87A0C029D" xmi.id="EAID_394A165F_00E9_4936_B651_FF8143F5C5F9"/>
<UML:TaggedValue tag="rose_uuid" value="3EC87A0C029D" xmi.id="EAID_9414DFD5_C0E5_4fa6_8913_3801F0FF5A5A"/>
<UML:TaggedValue tag="rose_uuid" value="3EC87A0C029D" xmi.id="EAID_B23B1B65_0921_4c42_9911_587E9FB0AC51"/>
As you can see our packages contained a lot of duplicate lines containing the same rose_uuid. For each duplicate line in our package we got one DAO.Recordset[3022] pop-up (yes, I counted it :-)) Our most problematic package contained 85.000 lines of which over 78.000 were lines like above. (no, I did not counted this package)

We removed all these lines by means of a stylesheet and checked our packages in again. Everything works fine now as we got rid of those annoying pop-ups. I realize our problem was quite specific but maybe you could check the content of your packages and control if they also contain lines which seem useless.

10
General Board / Re: Property Strings at Association Ends
« on: August 25, 2005, 06:58:27 am »
Exactly. That's why I think this is not the best solution.

11
General Board / Re: Property Strings at Association Ends
« on: August 25, 2005, 05:40:20 am »
2 corrections

Quote
Hi Maarten,  
I couldn't find it a) in the Help file, and b) on the EA.ConnectorClass.  The only reference to IsDerived (via Help search) is on the Attribute.
 
Can you point me to it?  I'm emitting the model through the AI and one of the principal features of my modelling technology is the creation of derived and inferred connections (of all types).
 
Cheerz,
Paolo


Paolo,
my mistake. You are right. I thought I was looking up Association information but it appeared to be Attribute information.

Quote
However this window does not provide an input control for property strings. You could define them by means of tagged values, but I don't know how you would do it. I can add tagged values to the association but not to the association end.

By means of the tagged values window you can define tagged values for the association or one of its ends. (However, this does not mean that I think this is the best solution).

Sorry for the confusion!

Maarten

12
General Board / Re: Property Strings at Association Ends
« on: August 25, 2005, 04:39:53 am »
Although I doubt if I'm the keeper, I would like to add some thoughts. Jim, since it is a quite complex subject, I will try to make myself more clear this time ;)

1. Difference between role names and string properties
In my opinion the UML superstructure defines that you can place 3 sorts of things at an association end:
  • a role name
  • a multiplicity
  • property strings

A property string is hence different from a role name. Role names and multiplicities can be determined in EA by the Association properties window (double click the association). However this window does not provide an input control for property strings. You could define them by means of tagged values, but I don't know how you would do it. I can add tagged values to the association but not to the association end.

2. Derived associations
According to the UML definition a derived association is an association that can be derived from other associations or constraints. Again the association properties window in EA does not allow you to indicate if an association is derived. Nevertheless the automation documentation regarding elements of type association shows the existence of a boolean attribute IsDerived. So EA knows the concept of a derived association but you cannot manage it by means of the user interface (or at least I did not find a way to do it).

Hope this helps,
Maarten

13
General Board / Re: Showing the classifier in a part's name
« on: August 23, 2005, 12:19:26 am »
You can use classes. Drag them on the diagram - create them as part - right click - features - feature visibility - check the "Show element type (Port and Part only") checkbox"

If I understood your question well this should do what you want

14
General Board / Re: Showing part not owned by containing classifie
« on: August 22, 2005, 03:02:16 am »
Right click the part - select 'Custom Properties' - change 'isReference' to true

15
General Board / Multiple version control repositories
« on: August 18, 2005, 05:46:19 am »
According to the release notes of EA5.0 it is possible to link a single model to multiple version control repositories. I would like to use this functionality but do not succeed in setting it up.

I have 2 models with their own SourceSafe repository. One of these models actually uses services of the other model. As a result I want to link my second model with the SourceSafe repository of the first model (by means of a read-only user). However if I create a new version control link I do not get the dialogbox to select a user. EA creates a new link but without user. If I push the 'Change User' button this field is automatically filled with 'User Name'. After that it is no longer possible to change the user. Do I do something wrong or is this a bug?

By the way, is there a possibility to clear the list box with Unique Ids in the version control configurations window? Because of my tests this list box now contains a lot of test data.

Pages: [1] 2