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

Pages: [1]
1
Bugs and Issues / Re: DCOM table
« on: September 17, 2010, 11:23:54 pm »
This did not work

2
Bugs and Issues / DCOM table
« on: September 17, 2010, 12:39:00 am »
When EA is installed on Windows 7 the installer doesn’t create a table entry in the DCOM table (EA.App).

Is this a bug? If so is there a patch?

jeff

3
Automation Interface, Add-Ins and Tools / Java API
« on: October 12, 2011, 06:12:05 am »

Are there any known issues with java api written and working under EA75 and problems occurring with the same tools under EA91?

For example, using a very small group of requirements I’m observing child requirements correctly showing up in a RTF for EA75 but not in EA91. So I’m thinking there may be some changes to the API that I’m not accounting for. It seems the simple  home-grown java program parses through the hierarchy correctly for the EA75 structure but in EA91 the tool only goes down one level deep for the same requirements.

It skips all requirements that are children of those parent requirements.

4
Automation Interface, Add-Ins and Tools / Re: DBMS -> EAP
« on: November 18, 2010, 04:07:09 am »
Solution:

Here's the methods with params I used to create an EAP file
run in this order;

Class Project

 project.ExportPackageXMI(packageGuid1, EnumXMIType.xmiEA11, 2, 3, 1, 0, "/tmp/MyFile.xml")

Class Repository

 repository.CreateModel(CreateModelType.cmEAPFromBase,"/tmp/Model.eap", 0)

Class Project

repository.GetProjectInterface().ImportPackageXMI(packageGuid2,"/tmp/MyFile.xml" ,1,1)

It actually wasn't that bad and a complete EAP based from the database is created.

Also, use the  string that looks something like this;

String EA_DB = "ea_reposi --- DBType=0;Connect=Provider=MSDASQL.1;Persist Security Info=False;Data Source=ea_repository";

To connect to your repository.

PS
[size=8]mary jane is Open
ski free or die[/size]


5
Automation Interface, Add-Ins and Tools / Re: DBMS -> EAP
« on: November 13, 2010, 02:35:04 am »
I want to keep this logical and simple;

An eap file can be renamed as a mdb file and opened in MS Access.

Also, if you open MS Access and create some project you can import the MySQL EA schema via an ODBC connection and populate it into Access. It works! All the tables that are used by EA are preserved.

But that new DB file created from MS Access can't be opened by EA if the eap extension is added to it.

The error message says;
[size=12]An Error has Occurred: Unrecognized database format[/size]

now what?

6
Automation Interface, Add-Ins and Tools / Re: DBMS -> EAP
« on: November 12, 2010, 01:22:10 am »
The eap file is a MS Access DB file;

$ file New1.eap
New1.eap: Microsoft Access Database


Is there a way to go from MySQL to MS Access then to an EAP?

7
Automation Interface, Add-Ins and Tools / DBMS -> EAP
« on: November 11, 2010, 07:30:36 am »
What's the best way to convert from MySQL to an EAP file?
It's easy inside of EA but don't want to do it that way.
Preferably by the API

Any ideas?

8
Has anyone tried the RunHTMLReport() method?

If so what's the cleanest way to return the ProjectGUID? (one of the methods parameters)

9
Automation Interface, Add-Ins and Tools / Re: Error code: 0x800702e4
« on: August 17, 2010, 01:49:21 am »
I'm using 64-bit architecture, windows, unfortunately.  No Linux yet.

But I just opened the credentials up at the top level of the EA directory to the world. Also, I changed the location for the Java home to the default, out-of-box, location. Also, opened the permissions there too.

Set credentials on windows is not as seamless as running a chmod at the top level directory structure. Here's what you can do: Open up the properties by right-click on the directory you need to change, (properties), and go to the security tab within that dialog box. At that point you can change the permissions for the directory to allow users access.

Also, anyone know the link for a standard javadoc of EA api packages?

And, where are good EA api java code examples?

10
Automation Interface, Add-Ins and Tools / Re: Error code: 0x800702e4
« on: August 13, 2010, 03:32:33 am »
Solved problem, all is good!

11
Automation Interface, Add-Ins and Tools / Re: Error code: 0x800702e4
« on: August 12, 2010, 01:09:32 am »
The problem is 32-bit versus 64-bit architecture. No problem with classpath definition and accessing the eaapi.jar file and no run-time errors in 32-bit land. The problem is getting the API to work on the
64-bit system. The 64-bit system is where I see the Error code.

12
Automation Interface, Add-Ins and Tools / Error code: 0x800702e4
« on: August 11, 2010, 12:13:42 am »
I'm get this error at run time using an Eclipse IDE. I have a very simple program using the org.sparx package. I don't think it's a CLASSPATH problem because the eaapi.jar is defined as one of the preferences.  The java program will compile but the return error is;

Exception in thread "main" java.lang.Exception: Failed to construct object. Error code: 0x800702e4
      at org.sparx.Repository.comConstructor(Native Method)
      at org.sparx.Repository.<init>(Repository.java:167)
      at EADump.main(EADump.java:8)

Anyone have ideas?

Pages: [1]