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

Pages: 1 2 [3]
Bugs and Issues / Re: Database has reached maximum size
« on: March 06, 2015, 04:34:46 am »
Also check if you can purge the auditing logs.
A client of mine reduced the size of their .eap file from 240 MB to 35 MB by just clearing th auditing logs.
Our EA database is now ~90 MB. Before "Integrity check" it was ~200 MB.
Of course I was shocked :)

Bugs and Issues / Re: Lost package after *.xmi import
« on: January 30, 2015, 07:22:40 pm »
A project integrity check would have probably solved this, or at least recover the package without parent.
I've found that lost/hidden package after project integrity check
and I find it as easier way than manual setting parent id in database.

Finally conclusions:
I should import *.xmi package with Strip GUIDs checked.

Bugs and Issues / Re: Lost package after *.xmi import
« on: January 29, 2015, 10:10:14 pm »
The safest would be to use VC for distributed work.

What does VC stand for?

Bugs and Issues / Re: Lost package after *.xmi import
« on: January 29, 2015, 07:19:13 pm »
The problem is: your package has the same GUID. You renamed it and tried to import it where the GUID already existed. So that caused the conflict. Solution: create a new package in your working copy, move your new stuff into that
Ok, so the root package (the one I created) has new, unique GUID,
than I move to it packages and elements, which have unchanged GUID.
Than I export that root package from local db and import it to remote/main db.
There will be some conflicts?

Bugs and Issues / Re: Lost package after *.xmi import
« on: January 29, 2015, 01:09:20 am »
The problem is: your package has the same GUID. You renamed it and tried to import it where the GUID already existed.
It looks like that's it -
- I've found disappeared package "abc" in EA database through SQL
and it has no parent (that's why it "disappeared" in packages tree).

Precisely: disappeared package Parent_ID wasn't NULL,
but there was no package with Package_ID = Parent_ID.

After changing Parent_ID to proper Package_ID the package "abc" has appeared,
but it contains only the imported data -
- all previously existing data was overwritten and the rest was lost :(.

I should backup EA database more than once a day :/

Bugs and Issues / Lost package after *.xmi import
« on: January 28, 2015, 05:39:37 pm »
I was working on local copy of production database.
At the end of the work I've exported whole package named "abc" (with tens of diagrams and objects) to *.xmi file,
but before doing that I've changed package name to "abc-new_version".

When I was trying to import that package into production database there was an error "packages name conflict" (or sth similar).
So I moved "abc-new_version" to new, empty package named "test_versions", exported it to *.xmi and tried to import it on the other database.

There was no error and everything seemed well, but now I can't find "abc" package on production database (?!).
I can't find packages "abc-new_version" and "test_versions" neither (?!).
Why did this happen?

How can I export (from local db) and import (to production db) existing package to package e.g. "test_versions"?

Bugs and Issues / Re: MySQL ODBC - OLE DB Provider  [-2147217900]
« on: January 29, 2015, 01:21:47 am »
Like it was mentioned, this bug was fixed in newer EA versions:

Enterprise Architect 9.2 (9.2.921.23) - generates SQL error
Select * from t_xref where `Type`='swimlane' and Client='{...}' order by Cast(Partition as Signed);

Enterprise Architect 11 (11.1.1113.5) - no SQL error
Select t_xref.* from t_xref,t_diagram where `Type`='swimlane' and Client=t_diagram.ea_guid and t_diagram.Diagram_ID = ...  order by Cast(`Partition` as Signed);

Uml Process / How to model communication protocol?
« on: September 16, 2014, 07:03:55 pm »
I've modeled data frames (header, messages, structures) that will be sent and received through ethernet.
Now I want to model communication protocol (what frame(s) is expected after another, ACK, NACK, timeouts, etc.).

It there any tutorial on how to model such (simple) communication protocol in EA?

How to change Z-Order of DiagramObject by script?

Precisely I want do "Bring to Top" on diagram element.

How to add (on diagram) link to element (x,y) and link to connector?

I'e created elements and connectors with types:
...and have problems with adding above to the diagram using:

it's not necessary since EA does not refresh the collection on delete but only on an explicit refresh
How to "refresh" diagram after some modifications?
Is it good way (code below)?

Code: [Select]
dim currentDiagram as EA.Diagram
set currentDiagram = Repository.GetCurrentDiagram()
' do sth with diagram elements...
Repository.SaveDiagram( currentDiagram.DiagramID )
Repository.ReloadDiagram( currentDiagram.DiagramID )

Pages: 1 2 [3]