{5} Assigned, Active Tickets by Owner (Full Description) (1 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

Jan-Klaas Kollhof

Ticket Summary Component Milestone Type Severity Created
Description
#26 setting errorlevel when running/building jsolait jsolait-core 2.1 enhancement minor 08/30/06

jsolait's WSH environment currently exits with no chance to verify if something went wrong. This is useful, for example:

  • For a build script to stop when a compilation error occurs;
  • For the Operating System environment or a program knows that something went wrong when invoking jsolait's code.

I suggest a small change near the end of jsolait.wsf:

    try{
        imprt("jsolaitws").run();
    }catch(e){
        log(e,LogError);
        //something went wrong - exit with errorlevel set
        WScript.quit(1);
    }

There are several other return's in top level code, but according to the try/catch blocks, it seems this is the most (or only) appropriate place for error level setting.

Best regards,

Helder


Note: See TracReports for help on using and creating reports.