alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Groovy example source code file (buildWithCustomGroovyDoc.xml)

This example Groovy source code file (buildWithCustomGroovyDoc.xml) 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

customgroovydoctestproject, customgroovydoctestproject, groovydoc, groovydoc

The Groovy buildWithCustomGroovyDoc.xml source code

<project name="CustomGroovyDocTestProject" basedir="../../../">
    <property name="src" location="src"/>
    <property name="main" location="${src}/main"/>
    <property name="test" location="${src}/test"/>

    <property name="target" location="target"/>

    <property name="tmpdir" value="${java.io.tmpdir}/${user.name}/${ant.project.name}"/>

    <path id="classpath">
        <fileset dir="${target}/classes" includes="**/*.*"/>
        <fileset dir="${target}/test-classes" includes="**/*.*"/>
    </path>

    <taskdef
            name="groovydoc"
            classname="org.codehaus.groovy.tools.groovydoc.CustomGroovyDoc"
            classpathref="classpath"/>

    <target name="doc">
        <groovydoc
                destdir="${tmpdir}"
                sourcepath="${test}"
                packagenames="org/codehaus/groovy/tools/groovydoc/testfiles/**.*"
                use="true"
                windowtitle="GroovyDoc"
                private="false">

            <link packages="java.,org.xml.,javax.,org.xml." href="http://download.oracle.com/javase/6/docs/api"/>
            <link packages="org.apache.tools.ant." href="http://evgeny-goldin.org/javadoc/ant/api"/>
            <link packages="org.junit.,junit.framework." href="http://kentbeck.github.com/junit/javadoc/latest"/>
            <link packages="groovy.,org.codehaus.groovy." href="http://groovy.codehaus.org/api/"/>
            <link packages="org.codehaus.gmaven." href="http://evgeny-goldin.org/javadoc/gmaven"/>
        </groovydoc>
    </target>
</project>

Other Groovy examples (source code examples)

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

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.