01: package org.codehaus.groovy.tools;
02:
03: import groovy.lang.GroovyShell;
04:
05: import java.io.File;
06:
07: public class DocGeneratorMain {
08:
09: 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
14: .run(
15: new File(
16: "src/main/org/codehaus/groovy/tools/DocGenerator.groovy"),
17: args);
18: } catch (Exception e) {
19: System.out.println("Failed: " + e);
20: e.printStackTrace();
21: }
22: }
23: }
|