public void start() {
if (fileName == null) {
String jettyHomeProperty = OptionHelper.getSystemProperty("jetty.home");
if (OptionHelper.isEmpty(jettyHomeProperty)) {
getStatusManager().add(
new WarnStatus("[jetty.home] system property not set.", this));
fileName = DEFAULT_CONFIG_FILE;
} else {
fileName = jettyHomeProperty + File.separatorChar + DEFAULT_CONFIG_FILE;
}
getStatusManager().add(
new WarnStatus("fileName property not set. Assuming [" + fileName
+ "]", this));
}
File configFile = new File(fileName);
if (configFile.exists()) {
runJoranOnFile(configFile);