java/alt2xml-bin/nbproject/groovy-build.xml
changeset 8 65f3e483a997
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/java/alt2xml-bin/nbproject/groovy-build.xml	Thu Jun 05 10:21:45 2014 +0200
     1.3 @@ -0,0 +1,93 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!--
     1.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     1.7 +***         EDIT ../build.xml INSTEAD         ***
     1.8 +
     1.9 +        
    1.10 +        -->
    1.11 +<project xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc">
    1.12 +    <target name="-groovy-init-macrodef-javac">
    1.13 +        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
    1.14 +            <attribute name="srcdir" default="${src.dir}"/>
    1.15 +            <attribute name="destdir" default="${build.classes.dir}"/>
    1.16 +            <attribute name="classpath" default="${javac.classpath}"/>
    1.17 +            <attribute name="includes" default="${includes}"/>
    1.18 +            <attribute name="excludes" default="${excludes}"/>
    1.19 +            <attribute name="debug" default="${javac.debug}"/>
    1.20 +            <attribute name="sourcepath" default="${empty.dir}"/>
    1.21 +            <attribute name="gensrcdir" default="${empty.dir}"/>
    1.22 +            <attribute name="processorpath" default="${javac.processorpath}"/>
    1.23 +            <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
    1.24 +            <element name="customize" optional="true"/>
    1.25 +            <sequential>
    1.26 +                <taskdef name="groovyc" classpath="${javac.classpath}" classname="org.codehaus.groovy.ant.Groovyc"/>
    1.27 +                <property name="empty.dir" location="${build.dir}/empty"/>
    1.28 +                <mkdir dir="${empty.dir}"/>
    1.29 +                <groovyc srcdir="@{srcdir}" sourcepath="@{sourcepath}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeAntRuntime="false" fork="true">
    1.30 +                    <src>
    1.31 +                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
    1.32 +                            <include name="*"/>
    1.33 +                        </dirset>
    1.34 +                    </src>
    1.35 +                    <classpath>
    1.36 +                        <path path="@{classpath}"/>
    1.37 +                    </classpath>
    1.38 +                    <javac debug="@{debug}" deprecation="${javac.deprecation}" encoding="${source.encoding}" source="${javac.source}" target="${javac.target}">
    1.39 +                        <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
    1.40 +                        <customize/>
    1.41 +                    </javac>
    1.42 +                </groovyc>
    1.43 +            </sequential>
    1.44 +        </macrodef>
    1.45 +        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
    1.46 +            <attribute name="srcdir" default="${src.dir}"/>
    1.47 +            <attribute name="destdir" default="${build.classes.dir}"/>
    1.48 +            <attribute name="classpath" default="${javac.classpath}"/>
    1.49 +            <sequential>
    1.50 +                <depend srcdir="@{srcdir}" destdir="@{destdir}" cache="${build.dir}/depcache" includes="${includes}" excludes="${excludes}">
    1.51 +                    <classpath>
    1.52 +                        <path path="@{classpath}"/>
    1.53 +                    </classpath>
    1.54 +                </depend>
    1.55 +            </sequential>
    1.56 +        </macrodef>
    1.57 +        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
    1.58 +            <attribute name="destdir" default="${build.classes.dir}"/>
    1.59 +            <sequential>
    1.60 +                <fail unless="javac.includes">Must set javac.includes</fail>
    1.61 +                <pathconvert property="javac.includes.binary" pathsep=",">
    1.62 +                    <path>
    1.63 +                        <filelist dir="@{destdir}" files="${javac.includes}"/>
    1.64 +                    </path>
    1.65 +                    <globmapper from="*.java" to="*.class"/>
    1.66 +                </pathconvert>
    1.67 +                <delete>
    1.68 +                    <files includes="${javac.includes.binary}"/>
    1.69 +                </delete>
    1.70 +            </sequential>
    1.71 +        </macrodef>
    1.72 +    </target>
    1.73 +    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run-with-groovy">
    1.74 +        <j2seproject3:test testincludes=""/>
    1.75 +    </target>
    1.76 +    <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy" if="have.tests" name="-post-test-run-with-groovy">
    1.77 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    1.78 +    </target>
    1.79 +    <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy,test-report,-post-test-run-with-groovy,-test-browse" description="Run unit tests." name="test-with-groovy"/>
    1.80 +    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-groovy">
    1.81 +        <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.includes</fail>
    1.82 +        <j2seproject3:test testincludes=""/>
    1.83 +    </target>
    1.84 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy" if="have.tests" name="-post-test-run-single-groovy">
    1.85 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    1.86 +    </target>
    1.87 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy,-post-test-run-single-groovy" description="Run single unit test." name="test-single-groovy"/>
    1.88 +    <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test" name="-do-test-debug-single-groovy">
    1.89 +        <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.binarytestincludes</fail>
    1.90 +        <j2seproject3:test-debug testincludes=""/>
    1.91 +    </target>
    1.92 +    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-debug-single-groovy" if="have.tests" name="-post-test-debug-single-groovy">
    1.93 +        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
    1.94 +    </target>
    1.95 +    <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test,-do-test-debug-single-groovy,-post-test-debug-single-groovy" name="debug-test-with-groovy"/>
    1.96 +</project>