} catch (Throwable th) {
for (int i = 0; i < ourLoggers.length; i++) { ourLoggers[i].endServer("apache", url); } } catch (Throwable th) {
    public static void main(String[] args) {		String fileName = args[0];		ourPropertiesFile = new File(fileName);        ourLoggers = new AbstractPythonTestLogger[] {new ConsoleLogger(), new XMLLogger()};		Properties properties = null;		String defaultTestSuite = null;		try {			properties = loadProperties(ourPropertiesFile);			defaultTestSuite = loadDefaultTestSuite();		} catch (IOException e) {			System.out.println("can't load properties, exiting");			System.exit(1);		}                for (int i = 0; i < ourLoggers.length; i++) {            try{                ourLoggers[i].startTests(properties);            }catch(IOException ioe){                ioe.getMessage();                ioe.printStackTrace();                System.exit(1);            }        }        String pythonTestsRoot = properties.getProperty("python.tests");		properties.setProperty("repository.root", new File(pythonTestsRoot).getAbsolutePath());		String url = "svn://localhost";		if (Boolean.TRUE.toString().equals(properties.getProperty("python.svn"))) {			try {				startSVNServe(properties);                for (int i = 0; i < ourLoggers.length; i++) {                    ourLoggers[i].startServer("svnserve", url);                }				runPythonTests(properties, defaultTestSuite, url);			} catch (Throwable th) {				th.printStackTrace();			} finally {				stopSVNServe();                for (int i = 0; i < ourLoggers.length; i++) {                    ourLoggers[i].endServer("svnserver", url);                }			}		}		if (Boolean.TRUE.toString().equals(properties.getProperty("python.http"))) {			url = "http://localhost:" + properties.getProperty("apache.port", "8082");			properties.setProperty("apache.conf", "apache/python.template.conf");			try {				startApache(properties);			    for (int i = 0; i < ourLoggers.length; i++) {                    ourLoggers[i].startServer("apache", url);                }				runPythonTests(properties, defaultTestSuite, url);			} catch (Throwable th) {				th.printStackTrace();			} finally {                for (int i = 0; i < ourLoggers.length; i++) {                    ourLoggers[i].endServer("apache", url);                }				try {					stopApache(properties);				} catch (Throwable th) {					th.printStackTrace();				}			}		}        for (int i = 0; i < ourLoggers.length; i++) {            try{                ourLoggers[i].endTests(properties);            }catch(Throwable e){                e.getMessage();                e.printStackTrace();                System.exit(1);            }        }	}