|
Groovy example source code file (DocGeneratorMain.java)
The Groovy DocGeneratorMain.java source code
package org.codehaus.groovy.tools;
import groovy.lang.GroovyShell;
import java.io.File;
public class DocGeneratorMain {
public static void main(String[] args) {
try {
GroovyShell shell = new GroovyShell();
//shell.run("src/main/org/codehaus/groovy/tools/DocGenerator.groovy", "org.codehaus.groovy.tools.DocGenerator.groovy", args);
shell.run(new File("src/main/org/codehaus/groovy/tools/DocGenerator.groovy"), args);
}
catch (Exception e) {
System.out.println("Failed: " + e);
e.printStackTrace();
}
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy DocGeneratorMain.java source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.