Book a Demo

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

Pages: [1] 2 3
1
General Board / Starting EA from the Command Line
« on: November 03, 2008, 06:59:07 pm »
I am trying to start EA from a batch file without success.
I should also say I am using a DB as a repository.

Tried the following batch file

c:
cd "C:\Program Files\Sparx Systems\EA"
run ea.exe earchitect
Pause

where earchitect is the DB model

I also tried

c:
cd "C:\Program Files\Sparx Systems\EA"
run ea.exe earchitect --- DBType=3;Connect=Provider=OraOLEDB.Oracle.1;Password=my password;Persist Security Info=True;User ID=earchitect;Data Source=RHEA

In both cases EA starts then I get the following error and the model is not loaded

An Error has Occurred: Couldnt find file C:\Program Files\Sparx
                                        Systrms\EA\earchitect

I am unable to to find any command line options for starting EA in the docs or help file.

TIA for any assistance

2
General Board / Re: EA repository backup
« on: November 04, 2008, 07:30:32 am »
For anyone who is interested, I decided to use XMI to export my model
from a C# batch application that I use to publish the HTML version of the model + import into Confluence

For the record here is the line I added

    // Seems the method is touchly abot the format of the path c;/ etc will run but no output or warning

    Uri XMIFileName = new Uri(path.WebSite + "/XMLBackup/backup.xml");
  
    // The GUID is format {xxxxxxx-xxx-xxx-etc}

    string res = project.ExportPackageXMI(path.RootGUID, EA.EnumXMIType.xmiEADefault, 1, 3, 1, 1, XMIFileName.LocalPath);

I just gave the root GUID of the model as I wanted to export all packages from root.
    

3
General Board / Re: EA repository backup
« on: November 04, 2008, 01:43:26 am »
Found the batch XMI command and was wondering if it is possible to run this command outside of EA. then I could setup a script ot perform this export nightly, this would be probably better than doing a DB backup.

Any thoughts from the forum?

4
General Board / EA repository backup
« on: November 04, 2008, 12:36:14 am »
Hi,

I was wondering what is the best approach to backing up a DB EA repository.

5
General Board / Re: Generated HTML not working on Firefox
« on: September 26, 2008, 11:47:00 pm »
Found te problem.

It was the root folder issue.   In IE it just adds a blank folder at root.  With Firefox it reports the previous error.

Fix is to add the root GUID for the model.   How do you find this out?
I generated the HTML in EA and then hover the mouse of the Root Folder + sign in IE for this model and the GUID is displayed.

6
General Board / Generated HTML not working on Firefox
« on: September 26, 2008, 05:01:56 pm »
I have a strange problem which I dont understand.

I wrote the code below to automatically generate my model each evening.    This works fine, but not with Firefox where I get the following error when starting.

[Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/Test/TestApp/js/displayToc.js Line: 546"]

I then tried to genrate the same html from within EA application and with this generated output Firefox works.

The only difference I noticed was that the EA tool geenrated model starts form the root package but the auto geenrated model has an unmarked package as the root.   I really donr see how this can make a difference or am I wrong.

I then tried to add a GUID as a parameter to my generator but the method seems to ignore this parameter and geenrate the whole model regardless with this strange default root package.

1.  Am I going down the wrong path chasing this rogue package as root?
2.  Does anyone else generate models automatically and do you use the GUID successfully as a parameter




 
****************************************************

  repository = new EA.Repository();
  bool result = repository.OpenFile(path.Repository);
  project = repository.GetProjectInterface();
 
  // Delete Output directory if it exists then recreate
  if (Directory.Exists(path.WebSite))
  {
      Directory.Delete(path.WebSite, true);
  }
  Directory.CreateDirectory(path.WebSite);
                    
  // Create the New Model in the Directory
  project.RunHTMLReport("", path.WebSite, "PNG", "default", "htm");


7
General Board / Problems with Firefox accessing HTML Gen Output
« on: September 02, 2008, 07:47:39 pm »
When I generate an HTML output from a model I can access it fine from Internet Explorer however when I try to access it from FireFox I get the following error.

[Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "file:///C:/D/New%20Folder/js/displayToc.js Line: 552"]

Anyone else have this problem?

8
General Board / Problems to Register the Product
« on: July 04, 2008, 03:06:51 am »
Hi,

I was using a trial version f EA which expired.   I have just bought a license but am unsure how to install it.

If I try to start EA it comes with an error screen.  Iff I press continue the dialog just closes if I select buy now it takes me to the purchase web site where I was already.

I tried to unistall the product and reinstall but it still comes to this silly dialog

Please help

9
General Board / Adding Requirements to a Requirements Model
« on: June 27, 2008, 09:25:10 pm »
I would like to use the Addin API to create requirements from a word document and to automatically import these requirements in EA with automatic creation of the requirement ID.

I know you have an integration with DOORS but I cannot afford this product so I wll write a similiar but more basic functionality myself.

So has anyone any examples how to create a requirement entry programatically in EA?

10
General Board / Re: Access EA Database from non Microsoft environm
« on: May 23, 2008, 03:46:52 pm »
thx for the info

11
General Board / Access EA Database from non Microsoft environment
« on: May 22, 2008, 04:56:28 pm »
It is possible to access the models in EA from a non Microsoft platform?

I have written a simple Java application in java that exports my models to an HTML web site.   To use the app I need the eaapi.jar and a SSJavaCOM DLL.   If the models are held in say an oracle DB  is it not possible to run my remote java application from say a non Microsoft server?

My other question is whether I need a full EA also installed on the machine where the SSJavaCOM.dll and eeapi.jar are installed for my applications to work or is it enough to just have SSJavaCOM.dll and eaapi.jar?

Thanks for the advice in advance?

12
General Board / Merging EA Models
« on: May 22, 2008, 03:29:22 pm »
Please can someone confirm my understanding of EA mutliuser concepts.

After reading the documentation it seems to me that EA does not have facilities to merge models and instead relies on locking to overcome the issues.   Is this assumption correct?

I have been given the task of specifying how we should work with EA and one of the requirements was offline working.   I guess I am not the first with this issue.   How do others overcome this problem where users will not have connection to the central server where the master model is stored?

13
General Board / Re: Problem accessing model via Java
« on: May 22, 2008, 08:56:35 pm »
Downloaded the 829 files and all works fine, thanks to all for the advice

14
General Board / Re: Problem accessing model via Java
« on: May 21, 2008, 10:33:30 pm »
I wonder if we have the same issue as is posted here

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1207116302/2#2

We are also using version 828. Will upgrade version and post the results.

15
General Board / Re: Problem accessing model via Java
« on: May 21, 2008, 10:20:36 pm »
I did already try this opion but it complains that it is not a valid .NET assembly.

Is there a more complete help page on using Java with EA?

TIA

Pages: [1] 2 3