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

Pages: [1]
1
Automation Interface, Add-Ins and Tools / Keystore migration
« on: February 07, 2020, 11:54:03 pm »
Hello,
my company uses an ancient version of EA (7.5) in conjunction with floating licenses and  Keystore version 1.3 running on an Win 2003 server. We want to get rid of that old server and move to Windows Server 2012 or later. Can you point out how a migration process could look like? Do we have to expect any problems ?

Regards,
Holger

2
Again, thanks for your help, simonm.

2 more questions:

- How do i change the ImportDirectory() behaviour of creating packages on namespace basis to creating packages on folder basis ?

- Is there a way to suppress the "logical class-diagram per package" creation during the import ?

3
@Midnight and simonm:
Thanks for your help, i can import and synchronize codefiles now. That´s the first step.

Now i need further information about the ExtraOptions. These are the equivalents to the checkboxes and radiobuttons used to configure the "Import Source Directory" Dialog, if i understand midnight right.

How do i address these options using the "ExtraOptions" String ?

4
Ok, i found some functions in the Project Interface.
(ImportDirectory() / ImportFile())

But i can´t add anything :(
Here is my code:
Code: [Select]

// instantiate repository
Repository mEARep = new Repository();

// load empty .eap file
try {
       mEARep.OpenFile(eaFile);
   } catch( Exception ex ) {
       Debug.Assert(false, "Error while reading " + eaFile + Environment.NewLine + ex.Message);
   }

// get project interface
Project mProject = mEARep.GetProjectInterface();

// get root package
Package root = (mEARep.Models.GetAt(0) as Package);

// get guid of root package
String guid = mProject.GUIDtoXML(root.PackageGUID);

// import sourcecode directory to root package recursively
mProject.ImportDirectory(guid, "English", @"c:\test\", "recurse=1");



What am i doing wrong ?

5
Hello everyone !

I have to automate the reverse engineering and class diagramm creation of c# projects.

Here is what i have to do:
Check the sourcecode folder for new sourcecode files and reverse-engineer them into the existing EA-Project file.

The big question is:
Can this be accomplished using the Automation Interface ?

I´ve already gone through most threads of the forum, but couldn´t find anything suitable except one thread, stating that reverse engineering can´t be done through AI. Is that right ?

Thanks,
impact79

Pages: [1]