/**
 * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.integration.analyticservice;

import com.opengamma.component.OpenGammaComponentServer;

/**
 * Main entry point for OpenGamma Analytic service component-based servers.
 * <p>
 * This class exists to easily capture the classpath.
 */
public class AnalyticServiceComponentServer extends OpenGammaComponentServer {

  /**
   * Main method to start an OpenGamma JVM process.
   * 
   * @param args  the arguments
   */
  public static void main(String[] args) { // CSIGNORE
    new AnalyticServiceComponentServer().run(args);
  }

}

@@ -627,16 +627,21 @@
 ORE%0A    
+if (!
 new Anal
@@ -678,17 +678,48 @@
 un(args)
-;
+) %7B%0A      System.exit(-1);%0A    %7D
 %0A  %7D%0A%0A%7D%0A

Exit with -1 status if server failed to start up