All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xlrit.gears.runner.Main Maven / Gradle / Ivy

There is a newer version: 1.17.1
Show newest version
package com.xlrit.gears.runner;

import com.xlrit.gears.runner.run.Driver;

import java.io.IOException;
import java.io.InputStream;
import java.util.logging.LogManager;
import java.util.logging.Logger;

public class Main {
	public static void main(String[] args) {
		try (InputStream inputStream = Main.class.getResourceAsStream("/logging.properties");) {
			LogManager.getLogManager().readConfiguration(inputStream);
		} catch (final IOException e) {
			Logger.getAnonymousLogger().severe("Could not load default logging.properties file");
			Logger.getAnonymousLogger().severe(e.getMessage());
		}

		Driver driver = new Driver();
		driver.run(args);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy