No announcement yet.

Abort on error

  • Filter
  • Time
  • Show
Clear All
new posts

  • Abort on error


    I am running a beyond compare script that is initiated by an nAnt task that is initiated by Thoughtworks CruiseControl.

    I've found that when an FTP login changes (password expires), beyond compare "hangs", never signalling the parent process (nAnt) that an error or "hang" condition exists. This causes never-ending cruise control processes.

    How to remedy this?
    Script example:
    criteria timestamp:180sec size
    option stop-on-error
    load "ftp://(user)pass)@(server/SCO_WebUI/SupplementalDocuments/Database/Cases" "C:\Data\DbScripts"
    expand all
    folder-report layout:side-by-side &
    options:display-mismatches &
    output-options:html-color &
    output-to:"reports\ShipCompliantV4\BeyondCompare\folder_c ompare_%date%_%fn_time%.html"
    sync create-empty update:lt->rt

    Any insight is appreciated!
    Thanks in advance.

  • #2
    Re: Abort on error


    The issue is an invalid ftp password will pop-up a dialog box asking for one. If you are unable to dismiss this box, then it will 'hang'. There are some software packages out there that can anticipate certain dialogs appearing and automatically dismiss them.

    We have changed this aspect in BC3, where in silent mode if any dialog like this is hit, we consider it a fatal error, don't prompt, and just stop.

    We hope to have BC3 available for public beta in the coming weeks:

    Let us know if you have any questions/comments. You can also contact us via email at
    Aaron P Scooter Software