    1   package org.codehaus.groovy.tools;
    2
    3   import groovy.lang.GroovyShell;
    4
    5   import java.io.File;
    6
    7   public class DocGeneratorMain {
    8
    9       public static void main(String[] args) {
    10          try {
    11              GroovyShell shell = new GroovyShell();
    12              //shell.run("src/main/org/codehaus/groovy/tools/DocGenerator.groovy", "org.codehaus.groovy.tools.DocGenerator.groovy", args);
    13              shell.run(new File("src/main/org/codehaus/groovy/tools/DocGenerator.groovy"), args);
    14          }
    15          catch (Exception e) {
    16              System.out.println("Failed: " + e);
    17              e.printStackTrace();
    18          }
    19      }
    20  }