SlideShare a Scribd company logo
<?xml version="1.0" encoding="UTF-8"?>
<!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the
script is divided into following sections: - initialization - compilation - jar - execution - debugging - javadoc - junit compilation - junit execution
- junit debugging - applet - cleanup -->
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<target name="default" description="Build and test whole project." depends="test,jar,javadoc"/>
<!-- ====================== INITIALIZATION SECTION ====================== -->
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<property file="nbproject/private/config.properties"/>
<property file="nbproject/private/configs/${config}.properties"/>
<property file="nbproject/private/private.properties"/>
</target>
<property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.4"/>
<property name="default.javac.target" value="1.4"/>
</target>
<property file="nbproject/configs/${config}.properties"/>
<property file="nbproject/project.properties"/>
</target>
<j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
<j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
<j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
<j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
<equals arg2="$${platforms.${platform.active}.javac}" arg1="${platform.javac.tmp}"/>
</condition>
<property name="platform.javac" value="${platform.javac.tmp}"/>
<j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
<equals arg2="$${platforms.${platform.active}.java}" arg1="${platform.java.tmp}"/>
</condition>
<property name="platform.java" value="${platform.java.tmp}"/>
<j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
<equals arg2="$${platforms.${platform.active}.javadoc}" arg1="${platform.javadoc.tmp}"/>
</condition>
<property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
<contains substring="$${platforms." string="${platform.javac}"/>
<contains substring="$${platforms." string="${platform.java}"/>
<contains substring="$${platforms." string="${platform.javadoc}"/>
</or>
</condition>
<fail unless="platform.home">Must set platform.home</fail>
<fail unless="platform.bootcp">Must set platform.bootcp</fail>
<fail unless="platform.java">Must set platform.java</fail>
<fail unless="platform.javac">Must set platform.javac</fail>
<fail if="platform.invalid"> The J2SE Platform is not correctly set up. Your active platform is: ${platform.active}, but the
corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. Either open the project
in the IDE and setup the Platform with the same name or add it manually. For example like this: ant
-Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in
a .properties file) or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used)
</fail>
<available file="${manifest.file}" property="manifest.available"/>
<project name="Moinho-impl" default="default" basedir=".." xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc"
xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1">
<fail message="Please build using Ant 1.7.1 or higher.">-
<condition>-
<not>-
<target name="-pre-init">-
<target name="-init-private" depends="-pre-init">-
<target name="-init-user" depends="-pre-init,-init-private">-
<target name="-init-project" depends="-pre-init,-init-private,-init-user">-
<target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">-
<condition value="${platform.home}/bin/javac" property="platform.javac">-
<condition value="${platform.home}/bin/java" property="platform.java">-
<condition value="${platform.home}/bin/javadoc" property="platform.javadoc">-
<condition value="true" property="platform.invalid">-
<or>-
<condition property="splashscreen.available">-
<and>-
<not>-
Seite 1 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<equals arg2="" arg1="${application.splash}" trim="true"/>
</not>
<available file="${application.splash}"/>
</and>
</condition>
<isset property="main.class"/>
<equals arg2="" arg1="${main.class}" trim="true"/>
</not>
</and>
</condition>
<isset property="manifest.available"/>
<isset property="main.class.available"/>
</and>
</condition>
<istrue value="${jar.archive.disabled}"/>
</not>
</condition>
<isset property="do.archive"/>
<isset property="libs.CopyLibs.classpath"/>
<istrue value="${mkdist.disabled}"/>
</not>
</and>
</condition>
<istrue value="${manifest.available+main.class}"/>
<isset property="do.mkdist"/>
</and>
</condition>
<isset property="manifest.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<isset property="main.class.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<isset property="splashscreen.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<istrue value="${manifest.available+main.class}"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<istrue value="${manifest.available}"/>
<isset property="do.mkdist"/>
</or>
</condition>
<istrue value="${manifest.available+main.class}"/>
<isset property="do.mkdist"/>
</or>
</condition>
<condition property="main.class.available">-
<and>-
<not>-
<condition property="manifest.available+main.class">-
<and>-
<condition property="do.archive">-
<not>-
<condition property="do.mkdist">-
<and>-
<not>-
<condition property="manifest.available+main.class+mkdist.available">-
<and>-
<condition property="do.archive+manifest.available">-
<and>-
<condition property="do.archive+main.class.available">-
<and>-
<condition property="do.archive+splashscreen.available">-
<and>-
<condition property="do.archive+manifest.available+main.class">-
<and>-
<condition property="manifest.available-mkdist.available">-
<or>-
<condition property="manifest.available+main.class-mkdist.available">-
<or>-
Seite 2 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<or/>
</condition>
<available file="${src.dir}"/>
</or>
</condition>
<isset property="netbeans.home"/>
<isset property="have.tests"/>
</and>
</condition>
<isset property="javadoc.preview"/>
<isfalse value="${javadoc.preview}"/>
</and>
</condition>
<property name="run.jvmargs" value=""/>
<property name="javac.compilerargs" value=""/>
<property name="work.dir" value="${basedir}"/>
<istrue value="${no.dependencies}"/>
</and>
</condition>
<property name="javac.debug" value="true"/>
<property name="javadoc.preview" value="true"/>
<property name="application.args" value=""/>
<property name="source.encoding" value="${file.encoding}"/>
<property name="runtime.encoding" value="${source.encoding}"/>
<isset property="javadoc.encoding"/>
<equals arg2="" arg1="${javadoc.encoding}"/>
</not>
</and>
</condition>
<property name="javadoc.encoding.used" value="${source.encoding}"/>
<property name="includes" value="**"/>
<property name="excludes" value=""/>
<property name="do.depend" value="false"/>
<istrue value="${do.depend}"/>
</condition>
<path path="${endorsed.classpath}" id="endorsed.classpath.path"/>
<length string="${endorsed.classpath}" when="greater" length="0"/>
</condition>
<property name="jar.index" value="false"/>
<property name="jar.index.metainf" value="${jar.index}"/>
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<fail unless="src.dir">Must set src.dir</fail>
<fail unless="build.dir">Must set build.dir</fail>
<fail unless="dist.dir">Must set dist.dir</fail>
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
<fail unless="dist.jar">Must set dist.jar</fail>
</target>
<attribute name="name"/>
<condition property="have.tests">-
<condition property="have.sources">-
<or>-
<condition property="netbeans.home+have.tests">-
<and>-
<condition property="no.javadoc.preview">-
<and>-
<condition property="no.deps">-
<and>-
<condition value="${javadoc.encoding}" property="javadoc.encoding.used">-
<and>-
<not>-
<condition property="do.depend.true">-
<condition value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'" property="endorsed.classpath.cmd.line.arg"
else="">
-
<target name="-post-init">-
<target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">-
<target name="-init-macrodef-property">-
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">-
Seite 3 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<attribute name="value"/>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
</target>
<attribute name="srcdir" default="${src.dir}"/>
<attribute name="destdir" default="${build.classes.dir}"/>
<attribute name="classpath" default="${javac.classpath}"/>
<attribute name="processorpath" default="${javac.processorpath}"/>
<attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
<attribute name="includes" default="${includes}"/>
<attribute name="excludes" default="${excludes}"/>
<attribute name="debug" default="${javac.debug}"/>
<attribute name="sourcepath" default="${empty.dir}"/>
<attribute name="gensrcdir" default="${empty.dir}"/>
<element name="customize" optional="true"/>
<property name="empty.dir" location="${build.dir}/empty"/>
<mkdir dir="${empty.dir}"/>
<mkdir dir="@{apgeneratedsrcdir}"/>
<include name="*"/>
</dirset>
</src>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<compilerarg value="-processorpath"/>
<compilerarg path="@{processorpath}:${empty.dir}"/>
<compilerarg line="${ap.processors.internal}"/>
<compilerarg line="${annotation.processing.processor.options}"/>
<compilerarg value="-s"/>
<compilerarg path="@{apgeneratedsrcdir}"/>
<compilerarg line="${ap.proc.none.internal}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<attribute name="srcdir" default="${src.dir}"/>
<attribute name="destdir" default="${build.classes.dir}"/>
<attribute name="classpath" default="${javac.classpath}"/>
<attribute name="processorpath" default="${javac.processorpath}"/>
<attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/>
<attribute name="includes" default="${includes}"/>
<attribute name="excludes" default="${excludes}"/>
<attribute name="debug" default="${javac.debug}"/>
<attribute name="sourcepath" default="${empty.dir}"/>
<attribute name="gensrcdir" default="${empty.dir}"/>
<element name="customize" optional="true"/>
<property name="empty.dir" location="${build.dir}/empty"/>
<mkdir dir="${empty.dir}"/>
<include name="*"/>
</dirset>
</src>
<sequential>-
<target name="-init-macrodef-javac-with-processors" depends="-init-ap-cmdline-properties" if="ap.supported.internal">-
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<javac tempdir="${java.io.tmpdir}" target="${javac.target}" srcdir="@{srcdir}" sourcepath="@{sourcepath}"
source="${javac.source}" includes="@{includes}" includeantruntime="false" fork="yes" executable="${platform.javac}"
excludes="@{excludes}" encoding="${source.encoding}" destdir="@{destdir}" deprecation="${javac.deprecation}"
debug="@{debug}">
-
<src>-
<dirset dir="@{gensrcdir}" erroronmissingdir="false">-
<classpath>-
<target name="-init-macrodef-javac-without-processors" depends="-init-ap-cmdline-properties" unless="ap.supported.internal">-
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<javac tempdir="${java.io.tmpdir}" target="${javac.target}" srcdir="@{srcdir}" sourcepath="@{sourcepath}"
source="${javac.source}" includes="@{includes}" includeantruntime="false" fork="yes" executable="${platform.javac}"
excludes="@{excludes}" encoding="${source.encoding}" destdir="@{destdir}" deprecation="${javac.deprecation}"
debug="@{debug}">
-
<src>-
<dirset dir="@{gensrcdir}" erroronmissingdir="false">-
<classpath>-
Seite 4 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<attribute name="srcdir" default="${src.dir}"/>
<attribute name="destdir" default="${build.classes.dir}"/>
<attribute name="classpath" default="${javac.classpath}"/>
<path path="@{classpath}"/>
</classpath>
</depend>
</sequential>
</macrodef>
<attribute name="destdir" default="${build.classes.dir}"/>
<fail unless="javac.includes">Must set javac.includes</fail>
<filelist dir="@{destdir}" files="${javac.includes}"/>
</path>
<globmapper to="*.class" from="*.java"/>
</pathconvert>
<tempfile property="javac.includesfile.binary" deleteonexit="true"/>
<echo message="${javac.includes.binary}" file="${javac.includesfile.binary}"/>
<files includesfile="${javac.includesfile.binary}"/>
</delete>
<fileset file="${javac.includesfile.binary}"/>
</delete>
</sequential>
</macrodef>
</target>
<attribute name="includes" default="${includes}"/>
<attribute name="excludes" default="${excludes}"/>
<attribute name="testincludes" default="**"/>
<property name="junit.forkmode" value="perTest"/>
<batchtest todir="${build.test.results.dir}"/>
<path path="${run.test.classpath}"/>
</classpath>
<propertyref prefix="test-sys-prop."/>
<mapper to="*" from="test-sys-prop.*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="-ea"/>
<jvmarg line="${run.jvmargs}"/>
</junit>
</sequential>
</macrodef>
</target>
<target name="profile-init" depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check"/>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="-init-macrodef-javac" depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors">-
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<depend srcdir="@{srcdir}" includes="${includes}" excludes="${excludes}" destdir="@{destdir}"
cache="${build.dir}/depcache">
-
<classpath>-
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<pathconvert property="javac.includes.binary" pathsep="${line.separator}">-
<path>-
<delete>-
<delete>-
<target name="-init-macrodef-junit">-
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<junit dir="${work.dir}" tempdir="${build.dir}" fork="true" showoutput="true" jvm="${platform.java}"
forkmode="${junit.forkmode}" failureproperty="tests.failed" errorproperty="tests.failed">
-
<classpath>-
<syspropertyset>-
<target name="-profile-pre-init">-
Seite 5 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<attribute name="name"/>
<attribute name="value"/>
<property name="@{name}" value="${env.@{value}}"/>
</sequential>
</macrodef>
<attribute name="classname" default="${main.class}"/>
<element name="customize" optional="true"/>
<property environment="env"/>
<resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<env path="${profiler.info.agentpath}:${profiler.current.path}" key="${profiler.info.pathvar}"/>
<arg line="${application.args}"/>
<path path="${run.classpath}"/>
</classpath>
<propertyref prefix="run-sys-prop."/>
<mapper to="*" from="run-sys-prop.*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
<fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
</target>
<attribute name="name" default="${main.class}"/>
<attribute name="classpath" default="${debug.classpath}"/>
<attribute name="stopclassname" default=""/>
<path path="@{classpath}"/>
</classpath>
<path path="${platform.bootcp}"/>
</bootclasspath>
</nbjpdastart>
</sequential>
</macrodef>
<attribute name="dir" default="${build.classes.dir}"/>
<include name="${fix.includes}*.class"/>
</fileset>
</nbjpdareload>
</sequential>
</macrodef>
</target>
<arg value="-version"/>
</exec>
<contains substring="java version "1.0" string="${version-output}"/>
<contains substring="java version "1.1" string="${version-output}"/>
<target name="-profile-post-init">-
<target name="-profile-init-macrodef-profile">-
<macrodef name="resolve">-
<sequential>-
<macrodef name="profile">-
<sequential>-
<java dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}" classname="@{classname}">-
<classpath>-
<syspropertyset>-
<target name="-profile-init-check" depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile">-
<target name="-init-macrodef-nbjpda" depends="-init-debug-args">-
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">-
<sequential>-
<nbjpdastart name="@{name}" transport="${debug-transport}" stopclassname="@{stopclassname}"
addressproperty="jpda.address">
-
<classpath>-
<bootclasspath>-
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">-
<sequential>-
<nbjpdareload>-
<fileset dir="@{dir}" includes="${fix.classes}">-
<target name="-init-debug-args">-
<exec executable="${platform.java}" outputproperty="version-output">-
<condition property="have-jdk-older-than-1.4">-
<or>-
Seite 6 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<contains substring="java version "1.2" string="${version-output}"/>
<contains substring="java version "1.3" string="${version-output}"/>
</or>
</condition>
<istrue value="${have-jdk-older-than-1.4}"/>
</condition>
<os family="windows"/>
</condition>
<isset property="debug.transport"/>
</condition>
</target>
<attribute name="classname" default="${main.class}"/>
<attribute name="classpath" default="${debug.classpath}"/>
<element name="customize" optional="true"/>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector outputencoding="${runtime.encoding}" inputencoding="${runtime.encoding}"
errorencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<path path="@{classpath}"/>
</classpath>
<propertyref prefix="run-sys-prop."/>
<mapper to="*" from="run-sys-prop.*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<attribute name="classname" default="${main.class}"/>
<attribute name="classpath" default="${run.classpath}"/>
<element name="customize" optional="true"/>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector outputencoding="${runtime.encoding}" inputencoding="${runtime.encoding}"
errorencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<path path="@{classpath}"/>
</classpath>
<propertyref prefix="run-sys-prop."/>
<mapper to="*" from="run-sys-prop.*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<attribute name="manifest" default="${manifest.file}"/>
<element name="customize" optional="true"/>
<property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
<path path="${run.classpath}"/>
<map to="" from="${build.classes.dir.resolved}"/>
</pathconvert>
<condition value="-Xdebug -Xnoagent -Djava.compiler=none" property="debug-args-line" else="-Xdebug">-
<condition value="dt_shmem" property="debug-transport-by-os" else="dt_socket">-
<condition value="${debug.transport}" property="debug-transport" else="${debug-transport-by-os}">-
<target name="-init-macrodef-debug" depends="-init-debug-args">-
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<java dir="${work.dir}" fork="true" jvm="${platform.java}" classname="@{classname}">-
<classpath>-
<syspropertyset>-
<target name="-init-macrodef-java">-
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">-
<sequential>-
<java dir="${work.dir}" fork="true" jvm="${platform.java}" classname="@{classname}">-
<classpath>-
<syspropertyset>-
<target name="-init-macrodef-copylibs">-
<macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">-
<sequential>-
<pathconvert property="run.classpath.without.build.classes.dir">-
<pathconvert property="jar.classpath" pathsep=" ">-
Seite 7 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<path path="${run.classpath.without.build.classes.dir}"/>
<flattenmapper/>
<globmapper to="lib/*" from="*"/>
</chainedmapper>
</pathconvert>
<taskdef name="copylibs" classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs"
classpath="${libs.CopyLibs.classpath}"/>
<fileset dir="${build.classes.dir}"/>
<attribute name="Class-Path" value="${jar.classpath}"/>
<customize/>
</manifest>
</copylibs>
</sequential>
</macrodef>
</target>
<j2seproject1:fileset dir="${build.classes.dir}"/>
</jar>
</presetdef>
</target>
<property name="annotation.processing.enabled" value="true"/>
<property name="annotation.processing.processors.list" value=""/>
<property name="annotation.processing.processor.options" value=""/>
<property name="annotation.processing.run.all.processors" value="true"/>
<property name="javac.processorpath" value="${javac.classpath}"/>
<property name="javac.test.processorpath" value="${javac.test.classpath}"/>
<matches string="${javac.source}" pattern="1.[0-5](..*)?"/>
</not>
</condition>
</target>
<isfalse value="${annotation.processing.run.all.processors}"/>
</condition>
<isfalse value="${annotation.processing.enabled}"/>
</condition>
</target>
<property name="ap.cmd.line.internal" value=""/>
</target>
<target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-
property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-
presetdef-jar,-init-ap-cmdline"/>
<!-- =================== COMPILATION SECTION =================== -->
<property name="built-jar.properties" location="${build.dir}/built-jar.properties"/>
<delete file="${built-jar.properties}" quiet="true"/>
</target>
<echo message="Cycle detected: Moinho was already built" level="warn"/>
</target>
<mkdir dir="${build.dir}"/>
<touch file="${built-jar.properties}" verbose="false"/>
<property file="${built-jar.properties}" prefix="already.built.jar."/>
<antcall target="-warn-already-built-jar"/>
<entry value="" key="${basedir}"/>
</propertyfile>
</target>
<target name="-verify-automatic-build" depends="init,-check-automatic-build,-clean-after-automatic-build"/>
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
</target>
<chainedmapper>-
<copylibs runtimeclasspath="${run.classpath.without.build.classes.dir}" manifest="@{manifest}" jarfile="${dist.jar}"
indexMetaInf="${jar.index.metainf}" index="${jar.index}" compress="${jar.compress}">
-
<manifest>-
<target name="-init-presetdef-jar">-
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">-
<jar jarfile="${dist.jar}" index="${jar.index}" compress="${jar.compress}">-
<target name="-init-ap-cmdline-properties">-
<condition value="true" property="ap.supported.internal">-
<not>-
<target name="-init-ap-cmdline-supported" depends="-init-ap-cmdline-properties" if="ap.supported.internal">-
<condition value="-processor ${annotation.processing.processors.list}" property="ap.processors.internal" else="">-
<condition value="-proc:none" property="ap.proc.none.internal" else="">-
<target name="-init-ap-cmdline" depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported">-
<target name="-deps-jar-init" unless="built-jar.properties">-
<target name="-warn-already-built-jar" if="already.built.jar.${basedir}">-
<target name="deps-jar" depends="init,-deps-jar-init" unless="no.deps">-
<propertyfile file="${built-jar.properties}">-
<target name="-check-automatic-build" depends="init">-
<target name="-clean-after-automatic-build" depends="init" if="netbeans.automatic.build">-
Seite 8 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<antcall target="clean"/>
</target>
<mkdir dir="${build.classes.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<include name="*"/>
</dirset>
</pathconvert>
<j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
</target>
<j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
<fileset dir="${src.dir}" includes="${includes}" excludes="${build.classes.excludes},${excludes}"/>
</copy>
</target>
<mkdir dir="${build.classes.dir}/META-INF"/>
<fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
</copy>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="compile" description="Compile project." depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-
compile,-do-compile,-post-compile"/>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<j2seproject3:force-recompile/>
<j2seproject3:javac sourcepath="${src.dir}" includes="${javac.includes}" excludes=""
gensrcdir="${build.generated.sources.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="compile-single" depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-
single,-post-compile-single"/>
<!-- ==================== JAR BUILDING SECTION ==================== -->
<dirname file="${dist.jar}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<j2seproject1:jar/>
</target>
<j2seproject1:jar manifest="${manifest.file}"/>
</target>
<j2seproject1:attribute name="Main-Class" value="${main.class}"/>
</j2seproject1:manifest>
<target name="-pre-pre-compile" depends="init,deps-jar">-
<target name="-pre-compile">-
<target name="-compile-depend" if="do.depend.true">-
<pathconvert property="build.generated.subdirs">-
<dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">-
<target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend"
if="have.sources">
-
<copy todir="${build.classes.dir}">-
<target name="-copy-persistence-xml" if="has.persistence.xml">-
<copy todir="${build.classes.dir}/META-INF">-
<target name="-post-compile">-
<target name="-pre-compile-single">-
<target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">-
<target name="-post-compile-single">-
<target name="-pre-pre-jar" depends="init">-
<target name="-pre-jar">-
<target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available-mkdist.available"
if="do.archive">
-
<target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available+main.class-
mkdist.available" if="do.archive+manifest.available">
-
<target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar"
unless="manifest.available+main.class+mkdist.available" if="do.archive+manifest.available+main.class">
-
<j2seproject1:jar manifest="${manifest.file}">-
<j2seproject1:manifest>-
Seite 9 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
</j2seproject1:jar>
<echo level="info">To run this application from the command line without Ant, try:</echo>
<property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
<property name="dist.jar.resolved" location="${dist.jar}"/>
<path path="${run.classpath}"/>
<map to="${dist.jar.resolved}" from="${build.classes.dir.resolved}"/>
</pathconvert>
<echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
</target>
<tempfile property="tmp.manifest.file" destdir="${build.dir}" deleteonexit="true"/>
<touch file="${tmp.manifest.file}" verbose="false"/>
</target>
<tempfile property="tmp.manifest.file" destdir="${build.dir}" deleteonexit="true"/>
<copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
</target>
<attribute name="Main-Class" value="${main.class}"/>
</manifest>
</target>
<basename file="${application.splash}" property="splashscreen.basename"/>
<mkdir dir="${build.classes.dir}/META-INF"/>
<copy file="${application.splash}" todir="${build.classes.dir}/META-INF" failonerror="false"/>
<attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
</manifest>
</target>
<j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
<echo level="info">To run this application from the command line without Ant, try:</echo>
<property name="dist.jar.resolved" location="${dist.jar}"/>
<echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo>
</target>
<fileset file="${tmp.manifest.file}"/>
</delete>
</target>
<target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-
with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-
pack,-do-jar-with-libraries-delete-manifest"/>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="jar" description="Build JAR." depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-
with-mainclass,-do-jar-with-libraries,-post-jar"/>
<!-- ================= EXECUTION SECTION ================= -->
<arg line="${application.args}"/>
</customize>
</j2seproject1:java>
</target>
<property name="javac.includes.binary" value=""/>
</target>
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<j2seproject1:java classname="${run.class}"/>
</target>
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
</target>
<!-- ================= DEBUGGING SECTION ================= -->
<pathconvert property="run.classpath.with.dist.jar">-
<target name="-do-jar-with-libraries-create-manifest" depends="init" unless="manifest.available" if="do.archive">-
<target name="-do-jar-with-libraries-copy-manifest" depends="init" if="do.archive+manifest.available">-
<target name="-do-jar-with-libraries-set-main" depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-
manifest" if="do.archive+main.class.available">
-
<manifest file="${tmp.manifest.file}" mode="update">-
<target name="-do-jar-with-libraries-set-splashscreen" depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-
copy-manifest" if="do.archive+splashscreen.available">
-
<manifest file="${tmp.manifest.file}" mode="update">-
<target name="-do-jar-with-libraries-pack" depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-
libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-
splashscreen" if="do.mkdist">
-
<target name="-do-jar-with-libraries-delete-manifest" depends="-do-jar-with-libraries-pack" if="do.archive">-
<delete>-
<target name="-post-jar">-
<target name="run" description="Run a main class." depends="init,compile">-
<j2seproject1:java>-
<customize>-
<target name="-do-not-recompile">-
<target name="run-single" depends="init,compile-single">-
<target name="run-test-with-main" depends="init,compile-test-single">-
Seite 10 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<j2seproject1:nbjpdastart name="${debug.class}"/>
</target>
<j2seproject1:nbjpdastart name="${debug.class}" classpath="${debug.test.classpath}"/>
</target>
<arg line="${application.args}"/>
</customize>
</j2seproject3:debug>
</target>
<target name="debug" description="Debug project in IDE." depends="init,compile,-debug-start-debugger,-debug-start-debuggee"
if="netbeans.home"/>
<j2seproject1:nbjpdastart stopclassname="${main.class}"/>
</target>
<target name="debug-stepinto" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home"/>
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<j2seproject3:debug classname="${debug.class}"/>
</target>
<target name="debug-single" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"
if="netbeans.home"/>
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
</target>
<target name="debug-test-with-main" depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-
main-test" if="netbeans.home"/>
<fail unless="fix.includes">Must set fix.includes</fail>
<property name="javac.includes" value="${fix.includes}.java"/>
</target>
<j2seproject1:nbjpdareload/>
</target>
<target name="debug-fix" depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home"/>
<!-- ================= PROFILING SECTION ================= -->
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile/>
</target>
<fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile classname="${profile.class}"/>
</target>
<!-- ========================= APPLET PROFILING SECTION ========================= -->
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<arg value="${applet.url}"/>
</customize>
</profile>
</target>
<!-- ========================= TESTS PROFILING SECTION ========================= -->
<target name="-debug-start-debugger" depends="init" if="netbeans.home">-
<target name="-debug-start-debugger-main-test" depends="init" if="netbeans.home">-
<target name="-debug-start-debuggee" depends="init,compile">-
<j2seproject3:debug>-
<customize>-
<target name="-debug-start-debugger-stepinto" depends="init" if="netbeans.home">-
<target name="-debug-start-debuggee-single" depends="init,compile-single" if="netbeans.home">-
<target name="-debug-start-debuggee-main-test" depends="init,compile-test-single" if="netbeans.home">-
<target name="-pre-debug-fix" depends="init">-
<target name="-do-debug-fix" depends="init,-pre-debug-fix,compile-single" if="netbeans.home">-
<target name="profile" description="Profile a project in the IDE." depends="profile-init,compile" if="netbeans.home">-
<nbprofiledirect>-
<classpath>-
<target name="profile-single" description="Profile a selected class in the IDE." depends="profile-init,compile-single"
if="netbeans.home">
-
<nbprofiledirect>-
<classpath>-
<target name="profile-applet" depends="profile-init,compile-single" if="netbeans.home">-
<nbprofiledirect>-
<classpath>-
<profile classname="sun.applet.AppletViewer">-
<customize>-
<target name="profile-test-single" depends="profile-init,compile-test-single" if="netbeans.home">-
<nbprofiledirect>-
<classpath>-
Seite 11 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<path path="${run.test.classpath}"/>
</classpath>
</nbprofiledirect>
<env path="${profiler.info.agentpath}:${profiler.current.path}" key="${profiler.info.pathvar}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<test name="${profile.class}"/>
<path path="${run.test.classpath}"/>
</classpath>
<propertyref prefix="test-sys-prop."/>
<mapper to="*" from="test-sys-prop.*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
</junit>
</target>
<!-- =============== JAVADOC SECTION =============== -->
<mkdir dir="${dist.javadoc.dir}"/>
<path path="${javac.classpath}"/>
</classpath>
<filename name="**/*.java"/>
</fileset>
<include name="**/*.java"/>
</fileset>
</javadoc>
<filename name="**/doc-files/**"/>
</fileset>
<include name="**/doc-files/**"/>
</fileset>
</copy>
</target>
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
</target>
<target name="javadoc" description="Build Javadoc." depends="init,-javadoc-build,-javadoc-browse"/>
<!-- ========================= JUNIT COMPILATION SECTION ========================= -->
<mkdir dir="${build.test.classes.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<j2seproject3:depend srcdir="" destdir="${build.test.classes.dir}" classpath="${javac.test.classpath}"/>
</target>
<j2seproject3:javac srcdir="" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"
processorpath="${javac.test.processorpath}" apgeneratedsrcdir="${build.test.classes.dir}"/>
<copy todir="${build.test.classes.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
<!-- Empty placeholder for easier customization. -->
<junit dir="${profiler.info.dir}" fork="true" showoutput="true" jvm="${profiler.info.jvm}" failureproperty="tests.failed"
errorproperty="tests.failed">
-
<classpath>-
<syspropertyset>-
<target name="-javadoc-build" depends="init" if="have.sources">-
<javadoc source="${javac.source}" executable="${platform.javadoc}" encoding="${javadoc.encoding.used}"
destdir="${dist.javadoc.dir}" failonerror="true" windowtitle="${javadoc.windowtitle}" version="${javadoc.version}"
useexternalfile="true" use="${javadoc.use}" splitindex="${javadoc.splitindex}" private="${javadoc.private}"
notree="${javadoc.notree}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" docencoding="UTF-8"
charset="UTF-8" author="${javadoc.author}" additionalparam="${javadoc.additionalparam}">
-
<classpath>-
<fileset dir="${src.dir}" includes="${includes}" excludes="${excludes}">-
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">-
<copy todir="${dist.javadoc.dir}">-
<fileset dir="${src.dir}" includes="${includes}" excludes="${excludes}">-
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">-
<target name="-javadoc-browse" depends="init,-javadoc-build" unless="no.javadoc.preview" if="netbeans.home">-
<target name="-pre-pre-compile-test" depends="init,compile" if="have.tests">-
<target name="-pre-compile-test">-
<target name="-compile-test-depend" if="do.depend.true">-
<target name="-do-compile-test" depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend"
if="have.tests">
-
<target name="-post-compile-test">-
<target name="-pre-compile-test-single">-
Seite 12 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<!-- You can override this target in the ../build.xml file. -->
</target>
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
<j2seproject3:javac srcdir="" sourcepath="" includes="${javac.includes}" excludes="" destdir="${build.test.classes.dir}"
debug="true" classpath="${javac.test.classpath}" processorpath="${javac.test.processorpath}"
apgeneratedsrcdir="${build.test.classes.dir}"/>
<copy todir="${build.test.classes.dir}"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-
single,-post-compile-test-single"/>
<!-- ======================= JUNIT EXECUTION SECTION ======================= -->
<mkdir dir="${build.test.results.dir}"/>
</target>
<j2seproject3:junit testincludes="**/*Test.java"/>
</target>
<fail unless="ignore.failing.tests" if="tests.failed">Some tests failed; see details above.</fail>
</target>
<target name="test-report" depends="init" if="have.tests"/>
<target name="-test-browse" depends="init" if="netbeans.home+have.tests"/>
<target name="test" description="Run unit tests." depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-
run,-test-browse"/>
<mkdir dir="${build.test.results.dir}"/>
</target>
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
<j2seproject3:junit includes="${test.includes}" excludes=""/>
</target>
<fail unless="ignore.failing.tests" if="tests.failed">Some tests failed; see details above.</fail>
</target>
<target name="test-single" description="Run single unit test." depends="init,compile-test-single,-pre-test-run-single,-do-test-run-
single,-post-test-run-single"/>
<!-- ======================= JUNIT DEBUGGING SECTION ======================= -->
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
<property name="test.report.file" location="${build.test.results.dir}/TEST-${test.class}.xml"/>
<delete file="${test.report.file}"/>
<mkdir dir="${build.test.results.dir}"/>
<propertyref prefix="test-sys-prop."/>
<mapper to="*" from="test-sys-prop.*" type="glob"/>
</syspropertyset>
<arg value="${test.class}"/>
<arg value="showoutput=true"/>
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
<arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
</customize>
</j2seproject3:debug>
</target>
<j2seproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
</target>
<target name="debug-test" depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test"/>
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
</target>
<target name="debug-fix-test" depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home"/>
<!-- ========================= APPLET EXECUTION SECTION ========================= -->
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
<target name="-do-compile-test-single" depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single"
if="have.tests">
-
<target name="-post-compile-test-single">-
<target name="-pre-test-run" depends="init" if="have.tests">-
<target name="-do-test-run" depends="init,compile-test,-pre-test-run" if="have.tests">-
<target name="-post-test-run" depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests">-
<target name="-pre-test-run-single" depends="init" if="have.tests">-
<target name="-do-test-run-single" depends="init,compile-test-single,-pre-test-run-single" if="have.tests">-
<target name="-post-test-run-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests">-
<target name="-debug-start-debuggee-test" depends="init,compile-test" if="have.tests">-
<j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner"
classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
-
<customize>-
<syspropertyset>-
<target name="-debug-start-debugger-test" depends="init,compile-test" if="netbeans.home+have.tests">-
<target name="-do-debug-fix-test" depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home">-
<target name="run-applet" depends="init,compile-single">-
<j2seproject1:java classname="sun.applet.AppletViewer">-
Seite 13 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
<arg value="${applet.url}"/>
</customize>
</j2seproject1:java>
</target>
<!-- ========================= APPLET DEBUGGING SECTION ========================= -->
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
<arg value="${applet.url}"/>
</customize>
</j2seproject3:debug>
</target>
<target name="debug-applet" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet"
if="netbeans.home"/>
<!-- =============== CLEANUP SECTION =============== -->
<property name="built-clean.properties" location="${build.dir}/built-clean.properties"/>
<delete file="${built-clean.properties}" quiet="true"/>
</target>
<echo message="Cycle detected: Moinho was already built" level="warn"/>
</target>
<mkdir dir="${build.dir}"/>
<touch file="${built-clean.properties}" verbose="false"/>
<property file="${built-clean.properties}" prefix="already.built.clean."/>
<antcall target="-warn-already-built-clean"/>
<entry value="" key="${basedir}"/>
</propertyfile>
</target>
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}" includeemptydirs="true" followsymlinks="false"/>
</target>
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target name="clean" description="Clean build products." depends="init,deps-clean,-do-clean,-post-clean"/>
<property file="${call.built.properties}" prefix="already.built."/>
<isset property="already.built.${call.subproject}"/>
</not>
</condition>
</target>
<propertyref prefix="transfer."/>
<mapper to="*" from="transfer.*" type="glob"/>
</propertyset>
</ant>
</target>
</project>
<customize>-
<target name="-debug-start-debuggee-applet" depends="init,compile-single" if="netbeans.home">-
<j2seproject3:debug classname="sun.applet.AppletViewer">-
<customize>-
<target name="-deps-clean-init" unless="built-clean.properties">-
<target name="-warn-already-built-clean" if="already.built.clean.${basedir}">-
<target name="deps-clean" depends="init,-deps-clean-init" unless="no.deps">-
<propertyfile file="${built-clean.properties}">-
<target name="-do-clean" depends="init">-
<target name="-post-clean">-
<target name="-check-call-dep">-
<condition property="should.call.dep">-
<not>-
<target name="-maybe-call-dep" depends="-check-call-dep" if="should.call.dep">-
<ant target="${call.target}" inheritall="false" antfile="${call.script}">-
<propertyset>-
Seite 14 von 14
22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...

More Related Content

PDF
OSGi framework overview
DOCX
Pom
PPT
PPT
Maven
PDF
Java Server Faces
PDF
[Spring Camp 2013] Java Configuration 없인 못살아!
PDF
Jlook web ui framework
PPTX
Apache Maven basics
OSGi framework overview
Pom
Maven
Java Server Faces
[Spring Camp 2013] Java Configuration 없인 못살아!
Jlook web ui framework
Apache Maven basics

What's hot (19)

PDF
ZF2 for the ZF1 Developer
PPT
Maven in Mule
PDF
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
PDF
Securing Java EE apps using WildFly Elytron
PDF
Lviv 2013 d7 vs d8
PDF
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
PDF
#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...
PDF
Capturing, Analyzing, and Optimizing your SQL
PDF
spring3.2 java config Servler3
KEY
Tycho - good, bad or ugly ?
KEY
How to be effective with JBoss Developer Studio
TXT
Jsp Notes
PDF
Releasing Projects Using Maven
KEY
JMX Management Tools
PDF
От экспериментов с инфраструктурой до внедрения в продакшен
PDF
Make your App Frontend Compatible
PPTX
FP - Découverte de Play Framework Scala
PPTX
Key Insights into Development Design Patterns for Magento 2 - Magento Live UK
ZF2 for the ZF1 Developer
Maven in Mule
Developing a Joomla 3.x Component using RAD FOF- Part 1: Back-end - Joomladay...
Securing Java EE apps using WildFly Elytron
Lviv 2013 d7 vs d8
Developing a Joomla 3.x Component using RAD/FOF - Joomladay UK 2014
#30.스프링프레임워크 & 마이바티스 (Spring Framework, MyBatis)_스프링프레임워크 강좌, 재직자환급교육,실업자국비지원...
Capturing, Analyzing, and Optimizing your SQL
spring3.2 java config Servler3
Tycho - good, bad or ugly ?
How to be effective with JBoss Developer Studio
Jsp Notes
Releasing Projects Using Maven
JMX Management Tools
От экспериментов с инфраструктурой до внедрения в продакшен
Make your App Frontend Compatible
FP - Découverte de Play Framework Scala
Key Insights into Development Design Patterns for Magento 2 - Magento Live UK
Ad

Viewers also liked (15)

PPTX
Problemas territoriales entre Venezuela y Guyana / Honduras y el Salvador
PPSX
Ilha Continente João Victor
PPTX
Normas de evacuacion de alumnado
PDF
Portafolio zdp práctica 3 amalia ortega pdf
PDF
Alpha Science Presentation
PDF
J.43. lamento-por_babilonia
PDF
Informe 001 comando
DOCX
Reverse Transfer Program Marketing Proposal
PPSX
Mừng 9 năm thành lập
PPTX
Our ERP Odyssey_Hamid Group
DOCX
Estándares tecnología astronáuitca
DOCX
Tugas 1 matematika 3
PDF
STEAM and 21st Century Skills in the Science Classroom
PDF
Webteh eWallet
PPT
Transistor Configuration
Problemas territoriales entre Venezuela y Guyana / Honduras y el Salvador
Ilha Continente João Victor
Normas de evacuacion de alumnado
Portafolio zdp práctica 3 amalia ortega pdf
Alpha Science Presentation
J.43. lamento-por_babilonia
Informe 001 comando
Reverse Transfer Program Marketing Proposal
Mừng 9 năm thành lập
Our ERP Odyssey_Hamid Group
Estándares tecnología astronáuitca
Tugas 1 matematika 3
STEAM and 21st Century Skills in the Science Classroom
Webteh eWallet
Transistor Configuration
Ad

Similar to Algotitmo Moinho (20)

PDF
Phing
PPT
PDF
Building com Phing - 7Masters PHP
PDF
IzPack at LyonJUG'11
PDF
PPTX
Apache ant
KEY
Write php deploy everywhere
PDF
Introduction to Apache Ant
PPTX
Tutorial to develop build files using ANT
PDF
Ant_quick_guide
PDF
Gradle - time for a new build
PDF
Gradle talk, Javarsovia 2010
PDF
Introduction to Maven
PDF
Write php deploy everywhere tek11
PPT
Using Maven2
PDF
Ant build tool2
PPT
Training in Android with Maven
PDF
Javascript ui for rest services
KEY
企业级软件的组件化和动态化开发实践
PPT
Gradle: The Build system you have been waiting for
Phing
Building com Phing - 7Masters PHP
IzPack at LyonJUG'11
Apache ant
Write php deploy everywhere
Introduction to Apache Ant
Tutorial to develop build files using ANT
Ant_quick_guide
Gradle - time for a new build
Gradle talk, Javarsovia 2010
Introduction to Maven
Write php deploy everywhere tek11
Using Maven2
Ant build tool2
Training in Android with Maven
Javascript ui for rest services
企业级软件的组件化和动态化开发实践
Gradle: The Build system you have been waiting for

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
additive manufacturing of ss316l using mig welding
PDF
737-MAX_SRG.pdf student reference guides
PDF
PPT on Performance Review to get promotions
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
Artificial Intelligence
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Current and future trends in Computer Vision.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Geodesy 1.pptx...............................................
Automation-in-Manufacturing-Chapter-Introduction.pdf
III.4.1.2_The_Space_Environment.p pdffdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
additive manufacturing of ss316l using mig welding
737-MAX_SRG.pdf student reference guides
PPT on Performance Review to get promotions
Safety Seminar civil to be ensured for safe working.
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Sustainable Sites - Green Building Construction
Artificial Intelligence
OOP with Java - Java Introduction (Basics)
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Current and future trends in Computer Vision.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Geodesy 1.pptx...............................................

Algotitmo Moinho

  • 1. <?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - compilation - jar - execution - debugging - javadoc - junit compilation - junit execution - junit debugging - applet - cleanup --> <antversion atleast="1.7.1"/> </not> </condition> </fail> <target name="default" description="Build and test whole project." depends="test,jar,javadoc"/> <!-- ====================== INITIALIZATION SECTION ====================== --> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <property file="nbproject/private/config.properties"/> <property file="nbproject/private/configs/${config}.properties"/> <property file="nbproject/private/private.properties"/> </target> <property file="${user.properties.file}"/> <!-- The two properties below are usually overridden --> <!-- by the active platform. Just a fallback. --> <property name="default.javac.source" value="1.4"/> <property name="default.javac.target" value="1.4"/> </target> <property file="nbproject/configs/${config}.properties"/> <property file="nbproject/project.properties"/> </target> <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/> <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/> <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/> <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/> <equals arg2="$${platforms.${platform.active}.javac}" arg1="${platform.javac.tmp}"/> </condition> <property name="platform.javac" value="${platform.javac.tmp}"/> <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/> <equals arg2="$${platforms.${platform.active}.java}" arg1="${platform.java.tmp}"/> </condition> <property name="platform.java" value="${platform.java.tmp}"/> <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/> <equals arg2="$${platforms.${platform.active}.javadoc}" arg1="${platform.javadoc.tmp}"/> </condition> <property name="platform.javadoc" value="${platform.javadoc.tmp}"/> <contains substring="$${platforms." string="${platform.javac}"/> <contains substring="$${platforms." string="${platform.java}"/> <contains substring="$${platforms." string="${platform.javadoc}"/> </or> </condition> <fail unless="platform.home">Must set platform.home</fail> <fail unless="platform.bootcp">Must set platform.bootcp</fail> <fail unless="platform.java">Must set platform.java</fail> <fail unless="platform.javac">Must set platform.javac</fail> <fail if="platform.invalid"> The J2SE Platform is not correctly set up. Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. Either open the project in the IDE and setup the Platform with the same name or add it manually. For example like this: ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) </fail> <available file="${manifest.file}" property="manifest.available"/> <project name="Moinho-impl" default="default" basedir=".." xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1"> <fail message="Please build using Ant 1.7.1 or higher.">- <condition>- <not>- <target name="-pre-init">- <target name="-init-private" depends="-pre-init">- <target name="-init-user" depends="-pre-init,-init-private">- <target name="-init-project" depends="-pre-init,-init-private,-init-user">- <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">- <condition value="${platform.home}/bin/javac" property="platform.javac">- <condition value="${platform.home}/bin/java" property="platform.java">- <condition value="${platform.home}/bin/javadoc" property="platform.javadoc">- <condition value="true" property="platform.invalid">- <or>- <condition property="splashscreen.available">- <and>- <not>- Seite 1 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 2. <equals arg2="" arg1="${application.splash}" trim="true"/> </not> <available file="${application.splash}"/> </and> </condition> <isset property="main.class"/> <equals arg2="" arg1="${main.class}" trim="true"/> </not> </and> </condition> <isset property="manifest.available"/> <isset property="main.class.available"/> </and> </condition> <istrue value="${jar.archive.disabled}"/> </not> </condition> <isset property="do.archive"/> <isset property="libs.CopyLibs.classpath"/> <istrue value="${mkdist.disabled}"/> </not> </and> </condition> <istrue value="${manifest.available+main.class}"/> <isset property="do.mkdist"/> </and> </condition> <isset property="manifest.available"/> <istrue value="${do.archive}"/> </and> </condition> <isset property="main.class.available"/> <istrue value="${do.archive}"/> </and> </condition> <isset property="splashscreen.available"/> <istrue value="${do.archive}"/> </and> </condition> <istrue value="${manifest.available+main.class}"/> <istrue value="${do.archive}"/> </and> </condition> <istrue value="${manifest.available}"/> <isset property="do.mkdist"/> </or> </condition> <istrue value="${manifest.available+main.class}"/> <isset property="do.mkdist"/> </or> </condition> <condition property="main.class.available">- <and>- <not>- <condition property="manifest.available+main.class">- <and>- <condition property="do.archive">- <not>- <condition property="do.mkdist">- <and>- <not>- <condition property="manifest.available+main.class+mkdist.available">- <and>- <condition property="do.archive+manifest.available">- <and>- <condition property="do.archive+main.class.available">- <and>- <condition property="do.archive+splashscreen.available">- <and>- <condition property="do.archive+manifest.available+main.class">- <and>- <condition property="manifest.available-mkdist.available">- <or>- <condition property="manifest.available+main.class-mkdist.available">- <or>- Seite 2 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 3. <or/> </condition> <available file="${src.dir}"/> </or> </condition> <isset property="netbeans.home"/> <isset property="have.tests"/> </and> </condition> <isset property="javadoc.preview"/> <isfalse value="${javadoc.preview}"/> </and> </condition> <property name="run.jvmargs" value=""/> <property name="javac.compilerargs" value=""/> <property name="work.dir" value="${basedir}"/> <istrue value="${no.dependencies}"/> </and> </condition> <property name="javac.debug" value="true"/> <property name="javadoc.preview" value="true"/> <property name="application.args" value=""/> <property name="source.encoding" value="${file.encoding}"/> <property name="runtime.encoding" value="${source.encoding}"/> <isset property="javadoc.encoding"/> <equals arg2="" arg1="${javadoc.encoding}"/> </not> </and> </condition> <property name="javadoc.encoding.used" value="${source.encoding}"/> <property name="includes" value="**"/> <property name="excludes" value=""/> <property name="do.depend" value="false"/> <istrue value="${do.depend}"/> </condition> <path path="${endorsed.classpath}" id="endorsed.classpath.path"/> <length string="${endorsed.classpath}" when="greater" length="0"/> </condition> <property name="jar.index" value="false"/> <property name="jar.index.metainf" value="${jar.index}"/> <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="build.classes.dir">Must set build.classes.dir</fail> <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail> <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail> <fail unless="build.test.results.dir">Must set build.test.results.dir</fail> <fail unless="build.classes.excludes">Must set build.classes.excludes</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> <attribute name="name"/> <condition property="have.tests">- <condition property="have.sources">- <or>- <condition property="netbeans.home+have.tests">- <and>- <condition property="no.javadoc.preview">- <and>- <condition property="no.deps">- <and>- <condition value="${javadoc.encoding}" property="javadoc.encoding.used">- <and>- <not>- <condition property="do.depend.true">- <condition value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'" property="endorsed.classpath.cmd.line.arg" else=""> - <target name="-post-init">- <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">- <target name="-init-macrodef-property">- <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">- Seite 3 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 4. <attribute name="value"/> <property name="@{name}" value="${@{value}}"/> </sequential> </macrodef> </target> <attribute name="srcdir" default="${src.dir}"/> <attribute name="destdir" default="${build.classes.dir}"/> <attribute name="classpath" default="${javac.classpath}"/> <attribute name="processorpath" default="${javac.processorpath}"/> <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/> <attribute name="includes" default="${includes}"/> <attribute name="excludes" default="${excludes}"/> <attribute name="debug" default="${javac.debug}"/> <attribute name="sourcepath" default="${empty.dir}"/> <attribute name="gensrcdir" default="${empty.dir}"/> <element name="customize" optional="true"/> <property name="empty.dir" location="${build.dir}/empty"/> <mkdir dir="${empty.dir}"/> <mkdir dir="@{apgeneratedsrcdir}"/> <include name="*"/> </dirset> </src> <path path="@{classpath}"/> </classpath> <compilerarg line="${endorsed.classpath.cmd.line.arg}"/> <compilerarg line="${javac.compilerargs}"/> <compilerarg value="-processorpath"/> <compilerarg path="@{processorpath}:${empty.dir}"/> <compilerarg line="${ap.processors.internal}"/> <compilerarg line="${annotation.processing.processor.options}"/> <compilerarg value="-s"/> <compilerarg path="@{apgeneratedsrcdir}"/> <compilerarg line="${ap.proc.none.internal}"/> <customize/> </javac> </sequential> </macrodef> </target> <attribute name="srcdir" default="${src.dir}"/> <attribute name="destdir" default="${build.classes.dir}"/> <attribute name="classpath" default="${javac.classpath}"/> <attribute name="processorpath" default="${javac.processorpath}"/> <attribute name="apgeneratedsrcdir" default="${build.generated.sources.dir}/ap-source-output"/> <attribute name="includes" default="${includes}"/> <attribute name="excludes" default="${excludes}"/> <attribute name="debug" default="${javac.debug}"/> <attribute name="sourcepath" default="${empty.dir}"/> <attribute name="gensrcdir" default="${empty.dir}"/> <element name="customize" optional="true"/> <property name="empty.dir" location="${build.dir}/empty"/> <mkdir dir="${empty.dir}"/> <include name="*"/> </dirset> </src> <sequential>- <target name="-init-macrodef-javac-with-processors" depends="-init-ap-cmdline-properties" if="ap.supported.internal">- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <javac tempdir="${java.io.tmpdir}" target="${javac.target}" srcdir="@{srcdir}" sourcepath="@{sourcepath}" source="${javac.source}" includes="@{includes}" includeantruntime="false" fork="yes" executable="${platform.javac}" excludes="@{excludes}" encoding="${source.encoding}" destdir="@{destdir}" deprecation="${javac.deprecation}" debug="@{debug}"> - <src>- <dirset dir="@{gensrcdir}" erroronmissingdir="false">- <classpath>- <target name="-init-macrodef-javac-without-processors" depends="-init-ap-cmdline-properties" unless="ap.supported.internal">- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <javac tempdir="${java.io.tmpdir}" target="${javac.target}" srcdir="@{srcdir}" sourcepath="@{sourcepath}" source="${javac.source}" includes="@{includes}" includeantruntime="false" fork="yes" executable="${platform.javac}" excludes="@{excludes}" encoding="${source.encoding}" destdir="@{destdir}" deprecation="${javac.deprecation}" debug="@{debug}"> - <src>- <dirset dir="@{gensrcdir}" erroronmissingdir="false">- <classpath>- Seite 4 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 5. <path path="@{classpath}"/> </classpath> <compilerarg line="${endorsed.classpath.cmd.line.arg}"/> <compilerarg line="${javac.compilerargs}"/> <customize/> </javac> </sequential> </macrodef> </target> <attribute name="srcdir" default="${src.dir}"/> <attribute name="destdir" default="${build.classes.dir}"/> <attribute name="classpath" default="${javac.classpath}"/> <path path="@{classpath}"/> </classpath> </depend> </sequential> </macrodef> <attribute name="destdir" default="${build.classes.dir}"/> <fail unless="javac.includes">Must set javac.includes</fail> <filelist dir="@{destdir}" files="${javac.includes}"/> </path> <globmapper to="*.class" from="*.java"/> </pathconvert> <tempfile property="javac.includesfile.binary" deleteonexit="true"/> <echo message="${javac.includes.binary}" file="${javac.includesfile.binary}"/> <files includesfile="${javac.includesfile.binary}"/> </delete> <fileset file="${javac.includesfile.binary}"/> </delete> </sequential> </macrodef> </target> <attribute name="includes" default="${includes}"/> <attribute name="excludes" default="${excludes}"/> <attribute name="testincludes" default="**"/> <property name="junit.forkmode" value="perTest"/> <batchtest todir="${build.test.results.dir}"/> <path path="${run.test.classpath}"/> </classpath> <propertyref prefix="test-sys-prop."/> <mapper to="*" from="test-sys-prop.*" type="glob"/> </syspropertyset> <formatter type="brief" usefile="false"/> <formatter type="xml"/> <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> <jvmarg value="-ea"/> <jvmarg line="${run.jvmargs}"/> </junit> </sequential> </macrodef> </target> <target name="profile-init" depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check"/> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="-init-macrodef-javac" depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors">- <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <depend srcdir="@{srcdir}" includes="${includes}" excludes="${excludes}" destdir="@{destdir}" cache="${build.dir}/depcache"> - <classpath>- <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <pathconvert property="javac.includes.binary" pathsep="${line.separator}">- <path>- <delete>- <delete>- <target name="-init-macrodef-junit">- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <junit dir="${work.dir}" tempdir="${build.dir}" fork="true" showoutput="true" jvm="${platform.java}" forkmode="${junit.forkmode}" failureproperty="tests.failed" errorproperty="tests.failed"> - <classpath>- <syspropertyset>- <target name="-profile-pre-init">- Seite 5 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 6. <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <attribute name="name"/> <attribute name="value"/> <property name="@{name}" value="${env.@{value}}"/> </sequential> </macrodef> <attribute name="classname" default="${main.class}"/> <element name="customize" optional="true"/> <property environment="env"/> <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/> <jvmarg value="${profiler.info.jvmargs.agent}"/> <jvmarg line="${profiler.info.jvmargs}"/> <env path="${profiler.info.agentpath}:${profiler.current.path}" key="${profiler.info.pathvar}"/> <arg line="${application.args}"/> <path path="${run.classpath}"/> </classpath> <propertyref prefix="run-sys-prop."/> <mapper to="*" from="run-sys-prop.*" type="glob"/> </syspropertyset> <customize/> </java> </sequential> </macrodef> </target> <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail> <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail> </target> <attribute name="name" default="${main.class}"/> <attribute name="classpath" default="${debug.classpath}"/> <attribute name="stopclassname" default=""/> <path path="@{classpath}"/> </classpath> <path path="${platform.bootcp}"/> </bootclasspath> </nbjpdastart> </sequential> </macrodef> <attribute name="dir" default="${build.classes.dir}"/> <include name="${fix.includes}*.class"/> </fileset> </nbjpdareload> </sequential> </macrodef> </target> <arg value="-version"/> </exec> <contains substring="java version "1.0" string="${version-output}"/> <contains substring="java version "1.1" string="${version-output}"/> <target name="-profile-post-init">- <target name="-profile-init-macrodef-profile">- <macrodef name="resolve">- <sequential>- <macrodef name="profile">- <sequential>- <java dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}" classname="@{classname}">- <classpath>- <syspropertyset>- <target name="-profile-init-check" depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile">- <target name="-init-macrodef-nbjpda" depends="-init-debug-args">- <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">- <sequential>- <nbjpdastart name="@{name}" transport="${debug-transport}" stopclassname="@{stopclassname}" addressproperty="jpda.address"> - <classpath>- <bootclasspath>- <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">- <sequential>- <nbjpdareload>- <fileset dir="@{dir}" includes="${fix.classes}">- <target name="-init-debug-args">- <exec executable="${platform.java}" outputproperty="version-output">- <condition property="have-jdk-older-than-1.4">- <or>- Seite 6 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 7. <contains substring="java version "1.2" string="${version-output}"/> <contains substring="java version "1.3" string="${version-output}"/> </or> </condition> <istrue value="${have-jdk-older-than-1.4}"/> </condition> <os family="windows"/> </condition> <isset property="debug.transport"/> </condition> </target> <attribute name="classname" default="${main.class}"/> <attribute name="classpath" default="${debug.classpath}"/> <element name="customize" optional="true"/> <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> <jvmarg line="${debug-args-line}"/> <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> <redirector outputencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" errorencoding="${runtime.encoding}"/> <jvmarg line="${run.jvmargs}"/> <path path="@{classpath}"/> </classpath> <propertyref prefix="run-sys-prop."/> <mapper to="*" from="run-sys-prop.*" type="glob"/> </syspropertyset> <customize/> </java> </sequential> </macrodef> </target> <attribute name="classname" default="${main.class}"/> <attribute name="classpath" default="${run.classpath}"/> <element name="customize" optional="true"/> <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> <jvmarg value="-Dfile.encoding=${runtime.encoding}"/> <redirector outputencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" errorencoding="${runtime.encoding}"/> <jvmarg line="${run.jvmargs}"/> <path path="@{classpath}"/> </classpath> <propertyref prefix="run-sys-prop."/> <mapper to="*" from="run-sys-prop.*" type="glob"/> </syspropertyset> <customize/> </java> </sequential> </macrodef> </target> <attribute name="manifest" default="${manifest.file}"/> <element name="customize" optional="true"/> <property name="build.classes.dir.resolved" location="${build.classes.dir}"/> <path path="${run.classpath}"/> <map to="" from="${build.classes.dir.resolved}"/> </pathconvert> <condition value="-Xdebug -Xnoagent -Djava.compiler=none" property="debug-args-line" else="-Xdebug">- <condition value="dt_shmem" property="debug-transport-by-os" else="dt_socket">- <condition value="${debug.transport}" property="debug-transport" else="${debug-transport-by-os}">- <target name="-init-macrodef-debug" depends="-init-debug-args">- <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <java dir="${work.dir}" fork="true" jvm="${platform.java}" classname="@{classname}">- <classpath>- <syspropertyset>- <target name="-init-macrodef-java">- <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">- <sequential>- <java dir="${work.dir}" fork="true" jvm="${platform.java}" classname="@{classname}">- <classpath>- <syspropertyset>- <target name="-init-macrodef-copylibs">- <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">- <sequential>- <pathconvert property="run.classpath.without.build.classes.dir">- <pathconvert property="jar.classpath" pathsep=" ">- Seite 7 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 8. <path path="${run.classpath.without.build.classes.dir}"/> <flattenmapper/> <globmapper to="lib/*" from="*"/> </chainedmapper> </pathconvert> <taskdef name="copylibs" classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}"/> <fileset dir="${build.classes.dir}"/> <attribute name="Class-Path" value="${jar.classpath}"/> <customize/> </manifest> </copylibs> </sequential> </macrodef> </target> <j2seproject1:fileset dir="${build.classes.dir}"/> </jar> </presetdef> </target> <property name="annotation.processing.enabled" value="true"/> <property name="annotation.processing.processors.list" value=""/> <property name="annotation.processing.processor.options" value=""/> <property name="annotation.processing.run.all.processors" value="true"/> <property name="javac.processorpath" value="${javac.classpath}"/> <property name="javac.test.processorpath" value="${javac.test.classpath}"/> <matches string="${javac.source}" pattern="1.[0-5](..*)?"/> </not> </condition> </target> <isfalse value="${annotation.processing.run.all.processors}"/> </condition> <isfalse value="${annotation.processing.enabled}"/> </condition> </target> <property name="ap.cmd.line.internal" value=""/> </target> <target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef- property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init- presetdef-jar,-init-ap-cmdline"/> <!-- =================== COMPILATION SECTION =================== --> <property name="built-jar.properties" location="${build.dir}/built-jar.properties"/> <delete file="${built-jar.properties}" quiet="true"/> </target> <echo message="Cycle detected: Moinho was already built" level="warn"/> </target> <mkdir dir="${build.dir}"/> <touch file="${built-jar.properties}" verbose="false"/> <property file="${built-jar.properties}" prefix="already.built.jar."/> <antcall target="-warn-already-built-jar"/> <entry value="" key="${basedir}"/> </propertyfile> </target> <target name="-verify-automatic-build" depends="init,-check-automatic-build,-clean-after-automatic-build"/> <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/> </target> <chainedmapper>- <copylibs runtimeclasspath="${run.classpath.without.build.classes.dir}" manifest="@{manifest}" jarfile="${dist.jar}" indexMetaInf="${jar.index.metainf}" index="${jar.index}" compress="${jar.compress}"> - <manifest>- <target name="-init-presetdef-jar">- <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">- <jar jarfile="${dist.jar}" index="${jar.index}" compress="${jar.compress}">- <target name="-init-ap-cmdline-properties">- <condition value="true" property="ap.supported.internal">- <not>- <target name="-init-ap-cmdline-supported" depends="-init-ap-cmdline-properties" if="ap.supported.internal">- <condition value="-processor ${annotation.processing.processors.list}" property="ap.processors.internal" else="">- <condition value="-proc:none" property="ap.proc.none.internal" else="">- <target name="-init-ap-cmdline" depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported">- <target name="-deps-jar-init" unless="built-jar.properties">- <target name="-warn-already-built-jar" if="already.built.jar.${basedir}">- <target name="deps-jar" depends="init,-deps-jar-init" unless="no.deps">- <propertyfile file="${built-jar.properties}">- <target name="-check-automatic-build" depends="init">- <target name="-clean-after-automatic-build" depends="init" if="netbeans.automatic.build">- Seite 8 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 9. <antcall target="clean"/> </target> <mkdir dir="${build.classes.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <include name="*"/> </dirset> </pathconvert> <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/> </target> <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/> <fileset dir="${src.dir}" includes="${includes}" excludes="${build.classes.excludes},${excludes}"/> </copy> </target> <mkdir dir="${build.classes.dir}/META-INF"/> <fileset dir="${meta.inf.dir}" includes="persistence.xml"/> </copy> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="compile" description="Compile project." depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre- compile,-do-compile,-post-compile"/> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> <j2seproject3:force-recompile/> <j2seproject3:javac sourcepath="${src.dir}" includes="${javac.includes}" excludes="" gensrcdir="${build.generated.sources.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="compile-single" depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile- single,-post-compile-single"/> <!-- ==================== JAR BUILDING SECTION ==================== --> <dirname file="${dist.jar}" property="dist.jar.dir"/> <mkdir dir="${dist.jar.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <j2seproject1:jar/> </target> <j2seproject1:jar manifest="${manifest.file}"/> </target> <j2seproject1:attribute name="Main-Class" value="${main.class}"/> </j2seproject1:manifest> <target name="-pre-pre-compile" depends="init,deps-jar">- <target name="-pre-compile">- <target name="-compile-depend" if="do.depend.true">- <pathconvert property="build.generated.subdirs">- <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">- <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources"> - <copy todir="${build.classes.dir}">- <target name="-copy-persistence-xml" if="has.persistence.xml">- <copy todir="${build.classes.dir}/META-INF">- <target name="-post-compile">- <target name="-pre-compile-single">- <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">- <target name="-post-compile-single">- <target name="-pre-pre-jar" depends="init">- <target name="-pre-jar">- <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available-mkdist.available" if="do.archive"> - <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available+main.class- mkdist.available" if="do.archive+manifest.available"> - <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available+main.class+mkdist.available" if="do.archive+manifest.available+main.class"> - <j2seproject1:jar manifest="${manifest.file}">- <j2seproject1:manifest>- Seite 9 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 10. </j2seproject1:jar> <echo level="info">To run this application from the command line without Ant, try:</echo> <property name="build.classes.dir.resolved" location="${build.classes.dir}"/> <property name="dist.jar.resolved" location="${dist.jar}"/> <path path="${run.classpath}"/> <map to="${dist.jar.resolved}" from="${build.classes.dir.resolved}"/> </pathconvert> <echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo> </target> <tempfile property="tmp.manifest.file" destdir="${build.dir}" deleteonexit="true"/> <touch file="${tmp.manifest.file}" verbose="false"/> </target> <tempfile property="tmp.manifest.file" destdir="${build.dir}" deleteonexit="true"/> <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/> </target> <attribute name="Main-Class" value="${main.class}"/> </manifest> </target> <basename file="${application.splash}" property="splashscreen.basename"/> <mkdir dir="${build.classes.dir}/META-INF"/> <copy file="${application.splash}" todir="${build.classes.dir}/META-INF" failonerror="false"/> <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/> </manifest> </target> <j2seproject3:copylibs manifest="${tmp.manifest.file}"/> <echo level="info">To run this application from the command line without Ant, try:</echo> <property name="dist.jar.resolved" location="${dist.jar}"/> <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo> </target> <fileset file="${tmp.manifest.file}"/> </delete> </target> <target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar- with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries- pack,-do-jar-with-libraries-delete-manifest"/> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="jar" description="Build JAR." depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar- with-mainclass,-do-jar-with-libraries,-post-jar"/> <!-- ================= EXECUTION SECTION ================= --> <arg line="${application.args}"/> </customize> </j2seproject1:java> </target> <property name="javac.includes.binary" value=""/> </target> <fail unless="run.class">Must select one file in the IDE or set run.class</fail> <j2seproject1:java classname="${run.class}"/> </target> <fail unless="run.class">Must select one file in the IDE or set run.class</fail> <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/> </target> <!-- ================= DEBUGGING SECTION ================= --> <pathconvert property="run.classpath.with.dist.jar">- <target name="-do-jar-with-libraries-create-manifest" depends="init" unless="manifest.available" if="do.archive">- <target name="-do-jar-with-libraries-copy-manifest" depends="init" if="do.archive+manifest.available">- <target name="-do-jar-with-libraries-set-main" depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy- manifest" if="do.archive+main.class.available"> - <manifest file="${tmp.manifest.file}" mode="update">- <target name="-do-jar-with-libraries-set-splashscreen" depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries- copy-manifest" if="do.archive+splashscreen.available"> - <manifest file="${tmp.manifest.file}" mode="update">- <target name="-do-jar-with-libraries-pack" depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with- libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set- splashscreen" if="do.mkdist"> - <target name="-do-jar-with-libraries-delete-manifest" depends="-do-jar-with-libraries-pack" if="do.archive">- <delete>- <target name="-post-jar">- <target name="run" description="Run a main class." depends="init,compile">- <j2seproject1:java>- <customize>- <target name="-do-not-recompile">- <target name="run-single" depends="init,compile-single">- <target name="run-test-with-main" depends="init,compile-test-single">- Seite 10 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 11. <j2seproject1:nbjpdastart name="${debug.class}"/> </target> <j2seproject1:nbjpdastart name="${debug.class}" classpath="${debug.test.classpath}"/> </target> <arg line="${application.args}"/> </customize> </j2seproject3:debug> </target> <target name="debug" description="Debug project in IDE." depends="init,compile,-debug-start-debugger,-debug-start-debuggee" if="netbeans.home"/> <j2seproject1:nbjpdastart stopclassname="${main.class}"/> </target> <target name="debug-stepinto" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home"/> <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> <j2seproject3:debug classname="${debug.class}"/> </target> <target name="debug-single" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home"/> <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/> </target> <target name="debug-test-with-main" depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee- main-test" if="netbeans.home"/> <fail unless="fix.includes">Must set fix.includes</fail> <property name="javac.includes" value="${fix.includes}.java"/> </target> <j2seproject1:nbjpdareload/> </target> <target name="debug-fix" depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home"/> <!-- ================= PROFILING SECTION ================= --> <path path="${run.classpath}"/> </classpath> </nbprofiledirect> <profile/> </target> <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail> <path path="${run.classpath}"/> </classpath> </nbprofiledirect> <profile classname="${profile.class}"/> </target> <!-- ========================= APPLET PROFILING SECTION ========================= --> <path path="${run.classpath}"/> </classpath> </nbprofiledirect> <arg value="${applet.url}"/> </customize> </profile> </target> <!-- ========================= TESTS PROFILING SECTION ========================= --> <target name="-debug-start-debugger" depends="init" if="netbeans.home">- <target name="-debug-start-debugger-main-test" depends="init" if="netbeans.home">- <target name="-debug-start-debuggee" depends="init,compile">- <j2seproject3:debug>- <customize>- <target name="-debug-start-debugger-stepinto" depends="init" if="netbeans.home">- <target name="-debug-start-debuggee-single" depends="init,compile-single" if="netbeans.home">- <target name="-debug-start-debuggee-main-test" depends="init,compile-test-single" if="netbeans.home">- <target name="-pre-debug-fix" depends="init">- <target name="-do-debug-fix" depends="init,-pre-debug-fix,compile-single" if="netbeans.home">- <target name="profile" description="Profile a project in the IDE." depends="profile-init,compile" if="netbeans.home">- <nbprofiledirect>- <classpath>- <target name="profile-single" description="Profile a selected class in the IDE." depends="profile-init,compile-single" if="netbeans.home"> - <nbprofiledirect>- <classpath>- <target name="profile-applet" depends="profile-init,compile-single" if="netbeans.home">- <nbprofiledirect>- <classpath>- <profile classname="sun.applet.AppletViewer">- <customize>- <target name="profile-test-single" depends="profile-init,compile-test-single" if="netbeans.home">- <nbprofiledirect>- <classpath>- Seite 11 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 12. <path path="${run.test.classpath}"/> </classpath> </nbprofiledirect> <env path="${profiler.info.agentpath}:${profiler.current.path}" key="${profiler.info.pathvar}"/> <jvmarg value="${profiler.info.jvmargs.agent}"/> <jvmarg line="${profiler.info.jvmargs}"/> <test name="${profile.class}"/> <path path="${run.test.classpath}"/> </classpath> <propertyref prefix="test-sys-prop."/> <mapper to="*" from="test-sys-prop.*" type="glob"/> </syspropertyset> <formatter type="brief" usefile="false"/> <formatter type="xml"/> </junit> </target> <!-- =============== JAVADOC SECTION =============== --> <mkdir dir="${dist.javadoc.dir}"/> <path path="${javac.classpath}"/> </classpath> <filename name="**/*.java"/> </fileset> <include name="**/*.java"/> </fileset> </javadoc> <filename name="**/doc-files/**"/> </fileset> <include name="**/doc-files/**"/> </fileset> </copy> </target> <nbbrowse file="${dist.javadoc.dir}/index.html"/> </target> <target name="javadoc" description="Build Javadoc." depends="init,-javadoc-build,-javadoc-browse"/> <!-- ========================= JUNIT COMPILATION SECTION ========================= --> <mkdir dir="${build.test.classes.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <j2seproject3:depend srcdir="" destdir="${build.test.classes.dir}" classpath="${javac.test.classpath}"/> </target> <j2seproject3:javac srcdir="" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}" processorpath="${javac.test.processorpath}" apgeneratedsrcdir="${build.test.classes.dir}"/> <copy todir="${build.test.classes.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/> <!-- Empty placeholder for easier customization. --> <junit dir="${profiler.info.dir}" fork="true" showoutput="true" jvm="${profiler.info.jvm}" failureproperty="tests.failed" errorproperty="tests.failed"> - <classpath>- <syspropertyset>- <target name="-javadoc-build" depends="init" if="have.sources">- <javadoc source="${javac.source}" executable="${platform.javadoc}" encoding="${javadoc.encoding.used}" destdir="${dist.javadoc.dir}" failonerror="true" windowtitle="${javadoc.windowtitle}" version="${javadoc.version}" useexternalfile="true" use="${javadoc.use}" splitindex="${javadoc.splitindex}" private="${javadoc.private}" notree="${javadoc.notree}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" docencoding="UTF-8" charset="UTF-8" author="${javadoc.author}" additionalparam="${javadoc.additionalparam}"> - <classpath>- <fileset dir="${src.dir}" includes="${includes}" excludes="${excludes}">- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">- <copy todir="${dist.javadoc.dir}">- <fileset dir="${src.dir}" includes="${includes}" excludes="${excludes}">- <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">- <target name="-javadoc-browse" depends="init,-javadoc-build" unless="no.javadoc.preview" if="netbeans.home">- <target name="-pre-pre-compile-test" depends="init,compile" if="have.tests">- <target name="-pre-compile-test">- <target name="-compile-test-depend" if="do.depend.true">- <target name="-do-compile-test" depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests"> - <target name="-post-compile-test">- <target name="-pre-compile-test-single">- Seite 12 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 13. <!-- You can override this target in the ../build.xml file. --> </target> <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/> <j2seproject3:javac srcdir="" sourcepath="" includes="${javac.includes}" excludes="" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}" processorpath="${javac.test.processorpath}" apgeneratedsrcdir="${build.test.classes.dir}"/> <copy todir="${build.test.classes.dir}"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test- single,-post-compile-test-single"/> <!-- ======================= JUNIT EXECUTION SECTION ======================= --> <mkdir dir="${build.test.results.dir}"/> </target> <j2seproject3:junit testincludes="**/*Test.java"/> </target> <fail unless="ignore.failing.tests" if="tests.failed">Some tests failed; see details above.</fail> </target> <target name="test-report" depends="init" if="have.tests"/> <target name="-test-browse" depends="init" if="netbeans.home+have.tests"/> <target name="test" description="Run unit tests." depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test- run,-test-browse"/> <mkdir dir="${build.test.results.dir}"/> </target> <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail> <j2seproject3:junit includes="${test.includes}" excludes=""/> </target> <fail unless="ignore.failing.tests" if="tests.failed">Some tests failed; see details above.</fail> </target> <target name="test-single" description="Run single unit test." depends="init,compile-test-single,-pre-test-run-single,-do-test-run- single,-post-test-run-single"/> <!-- ======================= JUNIT DEBUGGING SECTION ======================= --> <fail unless="test.class">Must select one file in the IDE or set test.class</fail> <property name="test.report.file" location="${build.test.results.dir}/TEST-${test.class}.xml"/> <delete file="${test.report.file}"/> <mkdir dir="${build.test.results.dir}"/> <propertyref prefix="test-sys-prop."/> <mapper to="*" from="test-sys-prop.*" type="glob"/> </syspropertyset> <arg value="${test.class}"/> <arg value="showoutput=true"/> <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/> <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/> </customize> </j2seproject3:debug> </target> <j2seproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/> </target> <target name="debug-test" depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test"/> <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/> </target> <target name="debug-fix-test" depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home"/> <!-- ========================= APPLET EXECUTION SECTION ========================= --> <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> <target name="-do-compile-test-single" depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests"> - <target name="-post-compile-test-single">- <target name="-pre-test-run" depends="init" if="have.tests">- <target name="-do-test-run" depends="init,compile-test,-pre-test-run" if="have.tests">- <target name="-post-test-run" depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests">- <target name="-pre-test-run-single" depends="init" if="have.tests">- <target name="-do-test-run-single" depends="init,compile-test-single,-pre-test-run-single" if="have.tests">- <target name="-post-test-run-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests">- <target name="-debug-start-debuggee-test" depends="init,compile-test" if="have.tests">- <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}"> - <customize>- <syspropertyset>- <target name="-debug-start-debugger-test" depends="init,compile-test" if="netbeans.home+have.tests">- <target name="-do-debug-fix-test" depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home">- <target name="run-applet" depends="init,compile-single">- <j2seproject1:java classname="sun.applet.AppletViewer">- Seite 13 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...
  • 14. <arg value="${applet.url}"/> </customize> </j2seproject1:java> </target> <!-- ========================= APPLET DEBUGGING SECTION ========================= --> <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> <arg value="${applet.url}"/> </customize> </j2seproject3:debug> </target> <target name="debug-applet" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home"/> <!-- =============== CLEANUP SECTION =============== --> <property name="built-clean.properties" location="${build.dir}/built-clean.properties"/> <delete file="${built-clean.properties}" quiet="true"/> </target> <echo message="Cycle detected: Moinho was already built" level="warn"/> </target> <mkdir dir="${build.dir}"/> <touch file="${built-clean.properties}" verbose="false"/> <property file="${built-clean.properties}" prefix="already.built.clean."/> <antcall target="-warn-already-built-clean"/> <entry value="" key="${basedir}"/> </propertyfile> </target> <delete dir="${build.dir}"/> <delete dir="${dist.dir}" includeemptydirs="true" followsymlinks="false"/> </target> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="clean" description="Clean build products." depends="init,deps-clean,-do-clean,-post-clean"/> <property file="${call.built.properties}" prefix="already.built."/> <isset property="already.built.${call.subproject}"/> </not> </condition> </target> <propertyref prefix="transfer."/> <mapper to="*" from="transfer.*" type="glob"/> </propertyset> </ant> </target> </project> <customize>- <target name="-debug-start-debuggee-applet" depends="init,compile-single" if="netbeans.home">- <j2seproject3:debug classname="sun.applet.AppletViewer">- <customize>- <target name="-deps-clean-init" unless="built-clean.properties">- <target name="-warn-already-built-clean" if="already.built.clean.${basedir}">- <target name="deps-clean" depends="init,-deps-clean-init" unless="no.deps">- <propertyfile file="${built-clean.properties}">- <target name="-do-clean" depends="init">- <target name="-post-clean">- <target name="-check-call-dep">- <condition property="should.call.dep">- <not>- <target name="-maybe-call-dep" depends="-check-call-dep" if="should.call.dep">- <ant target="${call.target}" inheritall="false" antfile="${call.script}">- <propertyset>- Seite 14 von 14 22.08.2015file:///C:/Users/adriany/Downloads/moinho-75c7a6935e0a4ae6102d5fa2ea997edbd0e...