Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: glads on June 29, 2005, 12:22:31 pm

Title: HTML report and attached file
Post by: glads on June 29, 2005, 12:22:31 pm
Hi everyone,

I have a problem when generating html reports when my use cases have attached files.

The problem is that I can't use relative paths, because when html is generated, the html locations are different and the file links are lost. With absolute paths, things are much worse!!!  :-[

I use to attach storyboards files with use cases. That's why I need them.

Thank you,
Gladstone.
Title: Re: HTML report and attached file
Post by: thomaskilian on June 30, 2005, 04:16:42 am
I guess this is a general problem. You could use a sed-command to post-process the paths.
Title: Re: HTML report and attached file
Post by: glads on July 01, 2005, 03:19:08 pm
I can't see how I could use a sed-command, since the html code is generated by EA...

Is there some way of describing path variables?

Gladstone.

Title: Re: HTML report and attached file
Post by: thomaskilian on July 04, 2005, 02:07:55 am
I meant by using a post-processor.
Title: Re: HTML report and attached file
Post by: glads on July 04, 2005, 01:56:26 pm
A external tool for changing the html generated by EA, is it?

Title: Re: HTML report and attached file
Post by: thomaskilian on July 05, 2005, 02:45:25 am
Yes. sed is an inline editor (in UNIX) that is used to change strings in an ASCII file. If you have a pattern in your path (which is very likely) you can change it easily. Under Windows you could use a simple Perl script to achieve that.