JavaDoc: @author Ing. František Kučera (frantovo.cz)
1 <?xml version="1.0" encoding="UTF-8"?>
3 *** GENERATED FROM project.xml - DO NOT EDIT ***
4 *** EDIT ../build.xml INSTEAD ***
8 <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">
9 <target name="-groovy-init-macrodef-javac">
10 <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
11 <attribute name="srcdir" default="${src.dir}"/>
12 <attribute name="destdir" default="${build.classes.dir}"/>
13 <attribute name="classpath" default="${javac.classpath}"/>
14 <attribute name="includes" default="${includes}"/>
15 <attribute name="excludes" default="${excludes}"/>
16 <attribute name="debug" default="${javac.debug}"/>
17 <attribute name="sourcepath" default="${empty.dir}"/>
18 <attribute name="gensrcdir" default="${empty.dir}"/>
19 <attribute name="processorpath" default="${javac.processorpath}"/>
20 <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
21 <element name="customize" optional="true"/>
23 <taskdef name="groovyc" classpath="${javac.classpath}" classname="org.codehaus.groovy.ant.Groovyc"/>
24 <property name="empty.dir" location="${build.dir}/empty"/>
25 <mkdir dir="${empty.dir}"/>
26 <groovyc srcdir="@{srcdir}" sourcepath="@{sourcepath}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeAntRuntime="false" fork="true">
28 <dirset dir="@{gensrcdir}" erroronmissingdir="false">
33 <path path="@{classpath}"/>
35 <javac debug="@{debug}" deprecation="${javac.deprecation}" encoding="${source.encoding}" source="${javac.source}" target="${javac.target}">
36 <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
42 <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
43 <attribute name="srcdir" default="${src.dir}"/>
44 <attribute name="destdir" default="${build.classes.dir}"/>
45 <attribute name="classpath" default="${javac.classpath}"/>
47 <depend srcdir="@{srcdir}" destdir="@{destdir}" cache="${build.dir}/depcache" includes="${includes}" excludes="${excludes}">
49 <path path="@{classpath}"/>
54 <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
55 <attribute name="destdir" default="${build.classes.dir}"/>
57 <fail unless="javac.includes">Must set javac.includes</fail>
58 <pathconvert property="javac.includes.binary" pathsep=",">
60 <filelist dir="@{destdir}" files="${javac.includes}"/>
62 <globmapper from="*.java" to="*.class"/>
65 <files includes="${javac.includes.binary}"/>
70 <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run-with-groovy">
71 <j2seproject3:test testincludes=""/>
73 <target depends="init,compile-test,-pre-test-run,-do-test-run-with-groovy" if="have.tests" name="-post-test-run-with-groovy">
74 <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
76 <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"/>
77 <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-groovy">
78 <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.includes</fail>
79 <j2seproject3:test testincludes=""/>
81 <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-groovy" if="have.tests" name="-post-test-run-single-groovy">
82 <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
84 <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"/>
85 <target depends="init,compile-test-single,-pre-test-run-single,-debug-start-debugger-test" name="-do-test-debug-single-groovy">
86 <fail unless="test.binarytestincludes">Must select some files in the IDE or set test.binarytestincludes</fail>
87 <j2seproject3:test-debug testincludes=""/>
89 <target depends="init,compile-test-single,-pre-test-run-single,-do-test-debug-single-groovy" if="have.tests" name="-post-test-debug-single-groovy">
90 <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
92 <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"/>