private static void printStartMessage(Arguments args, FitNesseContext context) { System.out.println("FitNesse (" + VERSION + ") Started..."); System.out.print(context.toString()); System.out.println( "\tpage version expiration set to " + args.getDaysTillVersionsExpire() + " days."); System.out.print(extraOutput); }
public static void main(String[] args) throws Exception { Arguments arguments = parseCommandLine(args); if (arguments != null) { FitNesseContext context = loadContext(arguments); PageVersionPruner.daysTillVersionsExpire = arguments.getDaysTillVersionsExpire(); FitNesse fitnesse = new FitNesse(context); if (!arguments.isOmittingUpdates()) fitnesse.applyUpdates(); boolean started = fitnesse.start(); if (started) printStartMessage(arguments, context); } else { printUsage(); System.exit(1); } }