KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > groovy > tools > DocGeneratorMain


1 package org.codehaus.groovy.tools;
2
3 import groovy.lang.GroovyShell;
4
5 import java.io.File JavaDoc;
6
7 public class DocGeneratorMain {
8
9     public static void main(String JavaDoc[] 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 JavaDoc("src/main/org/codehaus/groovy/tools/DocGenerator.groovy"), args);
14         }
15         catch (Exception JavaDoc e) {
16             System.out.println("Failed: " + e);
17             e.printStackTrace();
18         }
19     }
20 }
21
Popular Tags