Search in sources :

Example 1 with AbstractCLIApprover

use of edu.uiuc.ncsa.myproxy.oa4mp.server.util.AbstractCLIApprover in project OA4MP by ncsa.

the class CLIApprover method main.

public static void main(String[] args) {
    AbstractCLIApprover approver = new CLIApprover();
    try {
        System.out.println("logging to file " + new File(approver.getLogfileName()).getAbsolutePath());
        approver.run(args);
    } catch (Throwable e) {
        // Since this will probably be called only by a bash script, catch all errors and exceptions
        // then return a non-zero exit code
        e.printStackTrace();
        System.exit(1);
    }
}
Also used : AbstractCLIApprover(edu.uiuc.ncsa.myproxy.oa4mp.server.util.AbstractCLIApprover) File(java.io.File) AbstractCLIApprover(edu.uiuc.ncsa.myproxy.oa4mp.server.util.AbstractCLIApprover)

Aggregations

AbstractCLIApprover (edu.uiuc.ncsa.myproxy.oa4mp.server.util.AbstractCLIApprover)1 File (java.io.File)1