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

Pages: [1] 2
1
I am using EA V17 and would like to place the intermediate file in a directory that is at the same level as the project file (qea file). As I work with several projects, I always want to set the path relative to the project.

Something like this:

D:\earepo\prj1\prj1.qea
D:\earepo\prj1\Transfromations\Im.log
D:\earepo\prj2\prj2.qea
D:\earepo\prj2\Transfromations\Im.log

As far as I understand, this path is contained in the variable $EAPDIR, for prj1 would then be $EAPDIR=D:\earepo\prj1

I would now like to specify $EAPDIR\Transformation\IM.log for the intermediate path

so that I do not overwrite the log file of prj1 when switching from prj1 to prj2.

Unfortunately, however, I cannot enter a path directly in the Model Transformation dialog but can only navigate in the directory, so I cannot simply specify the $EAPDIR variable as part of the path.

Does anyone know how I can work around this limitation or do I have to live with it (for now)?

Thanks in advance

Thomas

2
General Board / Re: Import .NET6.0 SDK solution does not import classes
« on: November 28, 2022, 03:59:10 am »
Hi,

I have the same problem. It looks like, that microsoft has changed the strategy of source code file discovery and the project file does no longer contain the references to the source code files. My guess is, that EA has not been updated to respond to this new behavior and therefore simply does not import the files in the folder (and sub-folders).

Mybe this will  hopefully fixed someday.

Greetings,

Thomas

3
General Board / Re: Does Database Builder work with MS Access 365
« on: September 18, 2022, 05:28:07 pm »
Hi Paolo,

Quote
I think we downloaded a special driver for use with the v16 64-bit to give access to access (pun intended).

This is exactly what needs to be done, thanks for that.

I have double-checked the documentation once more, and there it is stated that EA does only support Access 2013. So I have downloaded the Access 2013 Runtime from the MS homepage (e. g. you find it here: https://www.microsoft.com/en-us/download/details.aspx?id=39358) and installed it. After that I was able to import at least the table, the other stuff I have to check.

Thanks for the support here. I hope the hint that you need this Runtime will make it to the EA documentation one day  :D or even better support the most recent version  ;D

Thanks,

Thomas

4
General Board / Re: Does Database Builder work with MS Access 365
« on: September 17, 2022, 09:26:40 pm »
I can only use the 64 bit Setup. I have just tried it with ODBC but I still receive the same result. Must I specify something special in the Connection string? In the ODBC setting there is the parameter UID set to admin. In th database I have not specied any special role like admin.

5
General Board / Does Database Builder work with MS Access 365
« on: September 17, 2022, 09:02:21 am »
Hi all,

I am using EA16 64 bit (Build 1605) and I want to import the database schema from an MS Access 365 database (also 64 bit). I defined a connection using the Access 2007 format and set it to the active connection.

When I select the Import DB schema for the database, it seems the information about the tables in the access database cannot be read, so it only shows the message "Schemas are not supported".

Is this possible at all? Maybe somebody can provide me a hint - I have spend already a lot of time in searching the documentation and the web for the solution how to get this running.

I hope somebody can help me here.

Thomas

6
General Board / Out of bound classifier in a XMI export package
« on: October 09, 2015, 06:53:38 pm »
Hello all,

I have tried to export a package with diagram using components from another package which is not a sub-package of the exported package, something like this:

|
+- Common Package
|     +- Common_Component
+- Detail Package
|    +- Detail_Component
|    +- Detail_Diagram
    


The export went well, but after import the XMI file, the Detail_Diagram does only contain the Detail_Component but not the Common_Component of the exported package.

Is there a way to specify that the Export should simply copy the referenced components into the XMI file?

I am using Build 1214.

7
General Board / Adding scenario activity diagram to rtf report
« on: February 14, 2012, 07:43:52 pm »
Hi all,

for a project I am in the process of writing use cases. For each use case I am writing some scenarios using the structured scenario tab of a use case. EA allows me to generate for each scenario a diagram (at least that is what the toolbar button tells me). But actually it generates me some kind of activity containing the diagram.
For example the structure looks like this:

MyPackage
  MyUseCase (Type: UseCase)
    MyUseCase_Activity (Type: Activity)
      [highlight]MyUseCase_ActivityGraph[/highlight] (Type: Diagram)
    

Unfortunately it seems like this diagram cannot be embedded to the RTF report. If I move the diagram up on level (as direct sub-element of the use case) like this:
MyPackage
  MyUseCase (Type: UseCase)
    [highlight]MyUseCase_ActivityGraph[/highlight] (Type: Diagram)
    MyUseCase_Activity (Type: Activity)
      
 the diagram will be added to the report but than it will not be updated if something changed in the scenario (e.g. adding a new step).

Because this is the first time I will use the report generator, I do not know if I missed some switches in the generator settings.

I am using Enterprise Architect V9.2 Build 922
 

8
General Board / Re: How to model a context diagram with EA?
« on: August 28, 2014, 07:26:48 am »
For my understanding the context diagram is more about structure than about behavior. For this I have to move in the direction of a component diagram.
I will model the SuD as a component using my own <<system>> stereotype. For people using the system I will use the actors and for other systems I will also use some components.

I have just tried the Use Case way which will work, but I wanted also to add some interface and communication media information into the context diagram. I guess this information can not be added to a use case diagram with actors only?

9
General Board / How to model a context diagram with EA?
« on: August 27, 2014, 05:19:12 pm »
Hi all,

Several books about system architecture recommends the usage of a context diagram showing the relations of  system under development (SuD) and the environment like other systems or actors.
This looks for me a reasonable approach so I want to built up this model using EA and standard UML constructs.
To model the diagram, some books recommend to use a use case diagram, other mention to use some kind of package diagram, while other are using a simple class diagram.

So I am a bit confused about all of this. Maybe someone else run into the same problems? For me using a component diagram for this would be a reasonable approach. Will this be the right way? How can than the SuD be represented? As far as I know there is only a <<subsystem>> stereotype, but no <<system>>stereotype.

Maybe there is already a generally accepted solution about this. If yes, please let me know about it. Also if you have created a context model using EA, please let me know about it.

Thanks in advance for your comments about this topic.

10
General Board / Namespace handling during import of VS projects
« on: September 25, 2013, 07:25:02 pm »
Hi all,

I wonder if there is a way to import a visual studio project into EA (using MDG Integration) without generating serveral packages for the namespace.

For example, I have a VS project named 'MyProject' with the root namespace A.B.C.D. With MDG Integration I have the option to 'Import and Link' the visual studio project into an existing EA model.
If my structure of the EA model looks like this:
MyModel
  Package: Level 1
    Package: Modules
the package structure of the model looks like this after the import:
MyModel
  Level 1
    Modules
      MyProject
        A
          B
            C
              D

If I add a second project 'AnotherProject' also with the root namespace A.B.C.D, the sturcture will be:
MyModel
  Level 1
    Modules
      MyProject
        A
          B
            C
              D
      AnotherProject
        A
          B
            C
              D

With this, the model looks very ugly and the navigation is complicated.

So I wonder if there is a way to ignore the namespace information of the project, or if this is not possible if there is a way to merge serveral visual studio projects into one package (of course EA will keep track which class was imported from which visual studio project).


11
General Board / Re: Define text colors depending on the element ty
« on: March 18, 2013, 07:04:14 pm »
Hi,

I just discovered that using the template package seems not to work in reverse engineering scenarios. I have defined the template for a class and if I add new class from the toolbox, the class has the specified appearance. But if I import a VisualStudio project (using MDG Integration for Visual Studio and EA Build 1004), the class will not use the template definitions.

Does anybody know a workaround to this problem?

12
General Board / Re: Define text colors depending on the element ty
« on: January 23, 2013, 05:25:22 pm »
I have just tried to use the template package and it seems to work. But with the template package I encountered two new issues:

  • Is there a way to define a shadow in the template package?  I have to use different fill colors (mainly blue and white) and so the shadow should of the element must be set also to some kind of light blue or white.
  • The template package will affect only new elements. Is there a way to "update" already existing elements?


13
General Board / Define text colors depending on the element type
« on: January 23, 2013, 02:53:44 am »
Hi,

I am wondering if there is a way in EA 10 to define the text color for all classes to white and the text color for all interfaces to black.

Background
The element filling is dark blue and the text written in the class is better readable if it is white, whereas the interface will be shown as lollypop with the text outside the element and there the background is white

I only found the way to define the color global using the 'Settings->Standard Colors' thing, but this sets the color of all elements (classes, interfaces,...). The other way to define the default appearance has the drawback that this must be done on every type.

Defining specific stereotypes only for the color settings seems for me also to be the wrong way.

Has anybody also this requirement or even better a hint how to get this solved.

14
General Board / Re: Changing "Entry Point" in Scenarios of a UseCa
« on: February 15, 2012, 01:57:01 am »
Hi,

as far as I know, you cannot alter the entry point. To change the entry point you have to switch to the basic path, select the step you want as new entry point and add a new Alternate path or Exception path, in the dialog you can then select the already existing path.
After that, you can delete the old path.

Best Regards,

Thomas Eiberle

15
General Board / Reverse engineering partial classes (C#)
« on: October 26, 2011, 03:54:23 pm »
Hello all,

I am currently facing the problem of reverse engineering a c# class which has been split into several partial classes. Each class resides in its own file, for example

LittleHelper_main.cs
Code: [Select]
public partial class LittleHelper
{
  public void Foo()
  {
     // -- Some code
  }
}

LittleHelper_Ext.cs
Code: [Select]
public partial class LittleHelper
{
  public void DoIt()
  {
     // -- Some code
  }
}

and so on.

These two code files are building together the LittleHelper class, so I have expected that the reverse engineering would handle the partial keyword and generate one class containing both methods. But it turns out, that two classes have been generated, both with the same name but one class containing the Foo() function and the other containing the DoIt() function.

Has anybody an idea how to tell EA that partial classes must form only one class? Merging both files into one file is not possible.

I am using EA Build 909 and the most recent VisualStudio integration. I am using VisualStudio 2010, and the application is built on .NET 3.5 SP1.

Pages: [1] 2