home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Groovy example source code file (DocGeneratorMain.java)

This example Groovy source code file (DocGeneratorMain.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

docgeneratormain, docgeneratormain, exception, exception, file, file, groovyshell, groovyshell, io

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);

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy DocGeneratorMain.java source code file:

new blog posts


Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.