[ ESO ]

ATCSDoc How To


This Help File describes how to perform some basic build and maintenance and upgrade operations on the atcsdoc module.

Currently a number of operations have to be performed by hand. In the future they will be integrated in the src/Makefile and will be hopefully standardized when the final Development Process and tools will be defined.

How to:

 

Check Web Consistency

The Web consistency checking is performed using the MomSpider tool.

To run it:

The results are put in the ~atcsmgr/ATS/atcsdoc directory.

The tool has been installed in the atcsmgr local directory and proper configuration files are in ~atcsmgr/:

.momspider-avoid

.momspider-instruct

.momspider-sites

It has been necessary to hack the tool to allow it to work locally, without a web server running.

Look in particular for the "Broken links" section.

__oOo__

 

Generate diagrams in EMF and GIF from Rose model

All the diagrams included in the Requirements and Design documents are extracted from Use Cases and Logical views of the Rose model using the ATA docExpress tool (a license is installed on PC10064, G.Chiozzi). Freeware limited versions are installed on PC10065 (R.Karban) and PC10067 (P.Duhoux).

This tool generates two files per diagrams in format GIF and EMF. All diagrams are imported in an HTML document that serves as entry from a WWW navigator.

Note: All paths are given relative to the home directory of the module atcsdoc.

Using the licenced product Reporter PRO, perform the following steps:

      1. Open the model (atcsdoc\Model\Rose\atcs.mdl) in Rational Rose under Windows
      2. Select the menu: Report -> Document with DocExpress…
      3. In the report panel, select:
        1. Report Format is HTML
        2. Report Type Name is Diagrams by view and type
        3. Next
      4. In the reports [HTML] panel, select:
        1. View is Use Case View
        2. Set the output file name to X:\ATS\atcsdoc\Model\Rose\doc\<modelName>_uc;.html
        3. Finish
      5. Three (3) more reports have to be generated with 3 different file names
      1. Generate the final image files for the online and for the printable documentation:
        1. Log in as atcsmgr on te13 (or any VLT UNIX machine)
        2. atcs@te13:~ [41]-> cd ~atcsmgr/ATS/atcsdoc/src
          (or where the module is)
        3. atcs@te13:~ [42]-> make diagrams
          (this assumes that the binary tools have been already built with make all)

Using the freeware product Reporter LITE 1.4.1, only steps 3 and 4 differ:

      1. In the welcome panel, click on "Continue…" and in the report panel, select:
        1. Report Format is HTML
        2. Report Type is Pre-Defined Reports
        3. Next
      2. In the pre-defined reports [HTML] panel, select:
        1. Report Type Name is Use Case View
        2. Set the output file name to X:\ATS\atcsdoc\Model\Rose\doc\<modelName>_uc.html
        3. Finish
        4. Report Type Name is Logical View
        5. Set the output file name to X:\ATS\atcsdoc\Model\Rose\doc\<modelName>_lv.html
        6. Finish
        7. Report Type Name is Component View
        8. Set the output file name to X:\ATS\atcsdoc\Model\Rose\doc\<modelName>_cv.html
        9. Finish
        10. Report Type Name is Deployment View
        11. Set the output file name to X:\ATS\atcsdoc\Model\Rose\doc\<modelName>_dv.html
        12. Finish
      3. Proceed with step 5 as described above

Pay attention to the "\", that must be used on the PC for pathnames, while "/" must be used in UNIX.

Outputs

docExpress generates the following files:

Extraction for online documentation

The Makefile calls the tool atcsdocXP2IMG (located under bin).

It is an automatic procedure that parses the file Model/Rose/doc/<modelName>.html and renames the image files tmp_*.EMF and tmp_*.gif to their assigned named into the Images directories of Model/UseCases and Model/Packages respectively. (The file extension of the .EMF files is set to .emf).

The Deployment View diagram is copied to Model/Packages/Images/deployment.<format>).

The Class Hierarchy is copied to Model/Packages/Images/classHierarchy.<format>).

The lookup tables are maintained inside the script source and are the consistency links between the model and the documentation.

The Use Case diagrams for both UseCase and Logical views are named as the package/sub-system prefix; the Class diagrams names are built using the <prefix>_class.<format> naming convention.

__oOo__

Generate filtered files for DD and SRS documentation

Printable documents can include only information relevant at requirements level or also all available information, added at design time or after design.

Specific DD and SRS files are generated from the online documentation and put in the ./object/DD and ./object/SRS directories.

This is done by the UNIX Makefile using the atcsdocHTML2DD and atcsdocHTML2SRS tools.

    1. Log in as atcsmgr on te13 (or any VLT UNIX machine)
    2. atcs@te13:~ [41]-> cd ~atcsmgr/ATS/atcsdoc/src
      (or where the module is)
    3. atcs@te13:~ [42]-> make filter
      (this assumes that the binary tools have been already built with make all)

__oOo__

 

Print standard Postscript (PS II) files under Windows

Install the standard Windows:

Apple Laser Writer II NT driver and print to file.

To name a file "xxxx.ps" it is necessary to put the filename in quotes ("), otherwise Windows will add a ".prt" extension automatically.

__oOo__

Survive MS-Word

Microsoft Word has many bugs and nuances, but with some tricks it is possible to survive (we are using MS-Word 97 SR2):

__oOo__

Update printable documents

To update the printable document, once all files have been generated one should in principle just:

Unfortunately the SRS and DD documents are big and contains too many links for what Word97 (SR2b) can handle.

Actually in most of the cases word corrupts the document when trying this procedure. There are two different effect:

The procedure to get through is lengthy but works and consists in updating few links at the time:

    1. Open the document
    2. Select the menu Edit-Links
    3. Select some 20-30 links, marking the first one, going to the last one and marking it pressing shift at the same time
    4. Click "Update Now"
    5. Close the Links dialog box
    6. Save and Close the file
    7. Open it again
    8. If the file opens properly, make a backup copy, for example selecting the file with explorer and making Ctrl-C Ctrl-V, then go back to step 2 to process another 20 links
    9. If the file does not open properly, take a backup copy and repeat selecting fewer links.

__oOo__

 

View MS-Word Postscript files with Ghostview

Sometimes when opening with Ghostview Poscript files generate in Windows, in particular with MS-Word, there are problems (errores are reported, only only a limited number of pages is accessible).

In order to view Postscript files generated by MS-Word, it is typically necessary to check in Ghostview the menu:

Options -> Ignore DSC

Web Publishing with Rose 2000

For proper use of the Rose Web Publisher follow these steps:

All loose ends in the model are linked to a a file containing some information about the loose end. Since there might be several thousands of them, we remove them and replace them by one single file. The web publish tool produces links that have the Windows path in it. We don't require those in our case. Several paths produced by the tool are consolidated.

Prepare for CMM Archive

Before archiving the module atcsdoc under CMM, it is mandatory to prepare this repository as follows:

      1. Log in as atcsmgr on te13 (or any VLT UNIX machine)
      2. atcs@te13:~ [41]-> cd ~atcsmgr/ATS/atcsdoc/src
        (or where the module is)
      3. atcs@te13:~ [42]-> make archive

The module is now ready for being archived under CMM.

Note: The internal directory structure has been modified:

Restore from CMM Archive

After having checkout the module atcsdoc from the CMM Archive, it is mandatory to restore this repository as follows:

      1. Log in as atcsmgr on te13 (or any VLT UNIX machine)
      2. atcs@te13:~ [41]-> cd ~atcsmgr/ATS/atcsdoc/src
        (or where the module is)
      3. atcs@te13:~ [42]-> make expand

The module is now ready for being updated.

Note: The Rose Web Publisher repository atcsdoc/Model/Rose/Html has not been restored.
See Web Publishing with Rose 2000 for the procedure.

Add new Use Case

Add new Package

Add Change Bars and produce Electronic Archive Document

Add drive independent links in Rose

__oOo__