source: trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/Runner.java @ 857

Last change on this file since 857 was 857, checked in by pharms, 12 years ago
  • initial version of the HTML monitor
File size: 820 bytes
Line 
1package de.ugoe.cs.autoquest.htmlmonitor;
2
3import de.ugoe.cs.util.console.Console;
4import de.ugoe.cs.util.console.TextConsole;
5
6/**
7 * <p>
8 * TODO comment
9 * </p>
10 *
11 * @author Patrick Harms
12 * @version 1.0
13 */
14public class Runner {
15
16    /**
17     * <p>
18     * Main method of the application.
19     * </p>
20     *
21     * @param args
22     *            TODO comment
23     */
24    public static void main(String[] args) {
25        new TextConsole();
26       
27        HtmlMonitor monitor = new HtmlMonitor(args);
28        try {
29            monitor.init();
30        }
31        catch (HtmlMonitorException e) {
32            Console.printerrln("could not initialize HTML monitor server: " + e.getMessage());
33            Console.logException(e);
34        }
35       
36        monitor.start();
37    }
38}
Note: See TracBrowser for help on using the repository browser.