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 - Pete Kirkham

Pages: [1]
1
General Board / Re: Multiple instances of simple links
« on: February 19, 2010, 03:36:54 am »
Naively, if you have a state machine 'outer' with a nested machine 'inner', inner appears as a single state to outer.

At runtime, outer has a single active state.  That is the sum of information to the machine at a given level.

What I assume you are trying to achive is having two identical 'inner' states which have different transitions out of them depending on what transition was used to transition into them.

There is nothing in a state machine (unless you're using the history feature) to record where you came from. So in a simple state machine, you need an extra state to indicate this state of the system.

To model this in UML, model your two different paths through the shared state as two new statemachines, each of which contain a single state - the shared statemachine you are duplicating.

Or you could merge the two paths, and either set a flag or inspect history or whatever, but then you're modelling state as data, which kind-of goes against the point of having a statemachine.

2
Bugs and Issues / Re: SQL Server Database Setup
« on: February 18, 2010, 10:32:06 pm »
No, nothing in dberror.txt; nothing obvious in the server logs either.

The package in question contains a large number of elements with linked documents. The XML file is 58,997,116 bytes, and if imported into a local .EAP the EAP is 41,961,472 bytes. Deleting the package from the model and running 'Get All Latest' again produces the same error on the next large package - there are about 4000 packages in the model, though we're trying to split it into smaller chunks, and eight of them are above 8MB as XML, the largest few being 57,618, 20,988, 17,648, 12,745, and 12,147 KB.

Moving one of the requirements with a linked document into its own package and exporting that to XMI, that too fails to import with 'network error'. The linked document consists of two page-sized bitmaps, is 4,977,424 bytes base 64, which is around 3 and a half megabytes binary.

3
Bugs and Issues / Re: SQL Server Database Setup
« on: February 18, 2010, 09:03:46 pm »
I'm also getting the network error using a local MySQL repository during a 'Get Latest' to rebuild a model from XMI. EA will allow normal operation for most of the model, but won't complete the import of some packages.

4
Bugs and Issues / Re: Name of XML File already exists in Version Con
« on: February 19, 2010, 02:53:04 am »
Quote
I think I just misunderstood how the "Control Package" works. I tought you connect a package in the model with a existing file (which might already contain the contents of the package). But its more like you chose a (new) file and the contents of the package is saved there.

Felix
If the file contains a controlled package, and the VCCFG ID has been set up in the Version Control Settings, then if you using the XMI import option it will be controlled once it is imported, though you will need to do a 'Get Latest' on it to make any nested controlled packages appear controlled.

5
Bugs and Issues / Re: Name of XML File already exists in Version Con
« on: February 19, 2010, 02:51:11 am »
Quote
Felix,

That would be a bit too dangerous don't you think?
If I already have a file in my VC with that name it is probably used to control another package.

Geert
It would be fairly trivial to check whether the UUID is the same, which it would be in the case of changing location or VCCFG id on XMI files.

Pages: [1]