System.out.println();
ApplicationContext context = null;
if (args.length <= 0) {
System.out.println("Loading Apache ServiceMix from servicemix.xml on the CLASSPATH");
context = new ClassPathXmlApplicationContext("servicemix.xml");
} else {
String file = args[0];
if ("-?".equals(file) || "?".equals(file) || "--help".equals(file) || "-h".equals(file)) {
System.out.println("Usage: Main [-v1] [xmlConfigFile]");