Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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.
-
I guess this is a general problem. You could use a sed-command to post-process the paths.
-
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.
-
I meant by using a post-processor.
-
A external tool for changing the html generated by EA, is it?
-
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.