Announcement

Collapse
No announcement yet.

Is possible merge two script outputs into single report

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is possible merge two script outputs into single report

    Hi,

    I have different scripts for comparing two folder. The first one will generate a report with mismatches alone and the second one will generate report with left side orphans. (Since, its not possible to create a report with mismatches and left side orphan files)

    Script 1:

    log "%4"
    criteria binary
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side options:display-mismatches,display-no-orphans,include-file-links output-to:"%3" output-options:html-color

    Script 2:

    log "%4"
    criteria binary
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side options:display-left-newer-orphans,include-file-links output-to:"%3" output-options:html-color

    I want to have both script outputs in a single report. Is it possible to merge two reports into single report or can we generate a single report for two scripts.

    Thanks in Advance,
    Dinesh

  • #2
    Hello,

    Not as part of the bcscripting, but if you edit the output html and concatenate them together you can manually edit them into a single report (delete the trailing </html> tag of one, and the <DOCTYPE and leading <HTML> of the next).
    Aaron P Scooter Software

    Comment


    • #3
      Can you please explain this briefly.

      Thanks,
      Dinesh

      Comment


      • #4
        Hello,

        BC4 can generate 2 reports, like you have been. To create a single report, you have to copy and paste the html content of one report into a merged report with manual html editing. However, both reports begin and end with <html> </html>, which can only exist once in a merged report, so you'll have to manually edit those lines. So, after a simple copy/paste to put both reports into a single, you'd see:
        <doctype
        <html>
        report1 info
        </html>
        <doctype
        <html>
        report2 info
        </html>

        And delete the center header nodes:
        <doctype
        <html>
        report1 info
        report2 info
        </html>
        Aaron P Scooter Software

        Comment

        Working...
        X