Book a Demo

Author Topic: Generating the html documentation from an external script  (Read 3303 times)

sadam

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Generating the html documentation from an external script
« on: April 23, 2008, 11:14:37 pm »
Hi,

Is it possible to use an external script that generates the html documentation for a particular package in my EA project?

Is there an API that I can use to send commands to EA without lauching it?

Regards,

Sadam

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Generating the html documentation from an external script
« Reply #1 on: April 24, 2008, 08:26:24 am »
Yes, from any language that can access COM.  (Plus Java through our wrapper.)

Have a look at http://www.sparxsystems.com.au/EAUserGuide/index.html?usingtheautomationinterface.htm

And the html report can be called from Project.RunHTMLReport.  http://www.sparxsystems.com.au/EAUserGuide/index.html?project_2.htm

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Generating the html documentation from an external script
« Reply #2 on: April 24, 2008, 08:34:50 am »
Hi Sadam,

Of course that assumes you mean without launching it from the desktop.

If you mean you want to call into EA without having COM launch it as a process - behind the scenes instead of on the desktop - then you are out of luck. EA does not operate as a service. Nor does it run as a server-based utility. [NB: This last part - not running on a server - might be out of date. I am thinking of an earlier answer from Sparx on this subject. I have not noticed anything in the release notes or the forum to suggest this has changed, but only Sparx can confirm my assumption.]

David
No, you can't have it!

sadam

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Generating the html documentation from an external script
« Reply #3 on: April 24, 2008, 08:41:12 am »
Hi,

In fact, I want to use EA to automatically generate the html documentation during the build overnight of my system. Therefore, I want to use EA on my server (there is no desktop) without any human intervention, but only a script that would generate my html reports.

Thanks for your answers.

Sadam