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

Pages: 1 ... 3 4 [5] 6
61
Bugs and Issues / Re: Problems with images / image manager
« on: August 11, 2014, 10:36:22 pm »
Today I found the time for checking the Project Transfer.
I always get a "Transfer Error" message window telling (text a bit shortened):
"Error from Microsoft Cursor Engine
Data provider or other service returned E_FAIL.
[Select * from t_xref]
Field: link"

A project transfer from one model to another model within teh old server works without problems.
A project integrity check show no issues.

Something is strange with PostgreSQL 9.3 in conjunction with EA.

62
Bugs and Issues / Problems with images / image manager
« on: August 06, 2014, 05:00:01 pm »
Hello,
we are planning to migrate our EA model repositories from PostgreSQL 8.4 to 9.3.x.
After having set up the new server and database we transferred a model to the new server:
- On old server: create a backup file using pgAdmin III
- Copy file to new server
- On new server: restore the backup file into a database

When connecting from EA on a client PC to the new database EA 11 does not display images  that have been imported to the model.

All images accessible via the Image Manager (menu Settings -> Images...) cannot be displayed by EA.
Clicking on a bitmap "File Type" image shows only a black preview image.
Image of "ENHMetafile" type are commented with a message box telling "Not a PNG file", which is obviously correct.

I checked accessing the model with EA 9 and EA 11. Both version show the same behavior when using PostgreSQL 9.3.x as repository server.
When connecting to the old server with PostgreSQL 8.4 all EA versions don't have problems with the embedded images in the models.

I cannot image what might be different between PostgreSQL 8.4 and 9.3 concerning images in an EA model. Images are stored as binary data in the database.
So what is wrong here?

63
Bugs and Issues / Re: Text in note elements loose line breaks
« on: May 16, 2014, 05:02:09 pm »
Sorry for answering so late.
@qwerty:
Yes, we have central repositories for the Ea models on an PostgreSQL server.

@Geert
Other PCs that show no problems have the same regional settings (Win 7 everywhere; German region everywhere)

@Aaron B
The note elements are really just notes :). The content is not used for code generation. The problem is not bound to text that is source code. It might happen to any text inside a note element.

As I am experiencing other strange behavior on my PC I shortly before telling our IT department to make a new installation of my PC :(.

64
Bugs and Issues / Re: Text in note elements loose line breaks
« on: May 12, 2014, 06:24:57 pm »
We are not working with add-ins. Especially no add-ins working on "notes".

I just found out, that on other PCs the note texts are OK, which means the text is shown with line breaks as they have originally been set.
It seems to be my PC that causes weird displaying of note texts.

65
Bugs and Issues / Text in note elements loose line breaks
« on: May 09, 2014, 05:33:45 pm »
Hello,
I have a really strange and annoying problem with EA 9.3 (I also tried the new EA 11 but it shows the same behavior).

In the last few moth there are more and more note elements in our EA models whose texts have somehow lost the intended line breaks.
E.g. sometimes we have tiny code snippets (are any other text, doesn't matter). This snippet has been entered with line breaks:
int myFunction(void)
{
    //do something
}

One day this snippet was shown the following way in the diagram and in the note properties dialog:
int myFunction(void){   //do something}

Sometimes it helps to type in the text again with line breaks, but it is impossible to cover all notes throughout all the models.

I have not found a similar problem in this forum.
Reinstalling EA did not help (regardless the version, see above).

Any idea what might cause this problem?
Any idea how to solve this?

66
Uml Process / Re: V12 - Add new package to Version Controlled pa
« on: September 11, 2015, 04:39:57 pm »
I hope I understood you correct in what you want to achieve.

When you want a newly created "sub-package" below a version cotrolled parent package to be part of the "version control" of the parent package you have to do no further steps.
When checking in the parent package the newly created sub-package (and its complete content) will automatically be exported as well and checked in inside the *.xml file of the parent package.

When you want a newly created "sub-package" below a version cotrolled parent package to be separately under "version control" you have to right-click on the sub-package'/Package Control/Configure', thus creating a separate *.xml file with only teh content of the sub-package.
The *.xml file of the parent package will then only reference the other xml file (after the "parent xml" has been exported and checked in of course).

Kind regards

67
Uml Process / Re: Set default notes for newly created elements
« on: December 18, 2012, 11:26:02 pm »
The element in the project template package is already a stereotyped one.

Size and background color are taken from the template. But the element's notes stay blank.

68
Uml Process / Re: Set default notes for newly created elements
« on: December 14, 2012, 01:21:48 am »
Since months the "template package" does not work any more :(.

I tried
- reset the template package (set to another package and set it back to the real template package)
- disconnect the template package from package control (template was under version control in ClearCase up to now)
- reimport our custom UML profile

Nothing helped. Whenever I create a new element, that has a template in the template package, the default "note" text is ignored.

As the newly created element has a "customized" stereotype with a customized shape script I fear this has to to with the problem. But I wonder why it worked for over a year until September 2012.

69
Uml Process / Re: Set default notes for newly created elements
« on: August 16, 2011, 07:30:40 pm »
Quite a helpful feature. Up to now I didn't even know that there is something like a "template package".
Thanks for the help.

70
Uml Process / Set default notes for newly created elements
« on: August 16, 2011, 05:42:05 pm »
In our UML profile we defined a stereotype "Invariant" based on the metaclass Requirement.
Is it possible to set a "default comment" for elements based on a stereotype?

I thought of extending the shape script in some way. Currently we display the notes of such an element with the shape script command printwrapped("#notes#"). But this simplay takes the notes that the user enters for the element.
I want to set a default note that may be edited by the user.

71
Args, you are right.
I saw this in the documentation but just did not "see" it.

Thanks a lot.

72
Hello,

I would like to compare the value of a tag with a fixed string.
The elements, where to script applies, have a tag called "ASIL". This tag has an enum type (only five different values selectable in drop-down list).
The shape script shall append an "A" to the name of the element in the diagram if the tag has the value "ASIL A".
The only thing what is not working is the string compare in line 3.

Any idea how strings can be compared?
If not: any alternatives?
Code: [Select]
if(HasTag("ASIL"))
{
   if( "#tag:ASIL#" == "ASIL A") {
      println("#NAME#.(A)");
   }
   else {
      println("#NAME#.(#tag:ASIL#)");
   }
}

73
Hello,

I am looking for information concerning version control (package control) in EA and the automation interface.

My search in the EA help didn't answer the question if version control of packages is accessible via the automation interfaces or not.

I would like to run a "Get all latest" on an eap file called from a python script that uses the EA automation script.
Used EA version is 9.3.

74
;) I would never test this on a "productive" model. That is why my local hard disk is filled with eap files for testing "things".
I am not very keen on being killed by my colleagues.

75
Thank you very much :).
This seems to be the way I need to go.

Pages: 1 ... 3 4 [5] 6