samples/effectivelist/nbproject/build-impl.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 31 Aug 2012 20:16:57 +0200
changeset 402 e25dbfce40e9
child 408 9a439a79c6d0
permissions -rw-r--r--
Example demostrating how to use trait to provide effective implementation of linked list while keeping encapsulation
jtulach@402
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@402
     2
<!--
jtulach@402
     3
*** GENERATED FROM project.xml - DO NOT EDIT  ***
jtulach@402
     4
***         EDIT ../build.xml INSTEAD         ***
jtulach@402
     5
jtulach@402
     6
For the purpose of easier reading the script
jtulach@402
     7
is divided into following sections:
jtulach@402
     8
jtulach@402
     9
  - initialization
jtulach@402
    10
  - compilation
jtulach@402
    11
  - jar
jtulach@402
    12
  - execution
jtulach@402
    13
  - debugging
jtulach@402
    14
  - javadoc
jtulach@402
    15
  - junit compilation
jtulach@402
    16
  - junit execution
jtulach@402
    17
  - junit debugging
jtulach@402
    18
  - applet
jtulach@402
    19
  - cleanup
jtulach@402
    20
jtulach@402
    21
        
jtulach@402
    22
        -->
jtulach@402
    23
<project xmlns:jaxrpc="http://www.netbeans.org/ns/scala-project/jax-rpc" xmlns:scalaProject1="http://www.netbeans.org/ns/scala-project/1" basedir=".." default="default" name="Effective_List-impl">
jtulach@402
    24
    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
jtulach@402
    25
    <!--
jtulach@402
    26
                ======================
jtulach@402
    27
                INITIALIZATION SECTION
jtulach@402
    28
                ======================
jtulach@402
    29
            -->
jtulach@402
    30
    <target name="-pre-init">
jtulach@402
    31
        <!-- Empty placeholder for easier customization. -->
jtulach@402
    32
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
    33
    </target>
jtulach@402
    34
    <target depends="-pre-init" name="-init-private">
jtulach@402
    35
        <property file="nbproject/private/config.properties"/>
jtulach@402
    36
        <property file="nbproject/private/configs/${config}.properties"/>
jtulach@402
    37
        <property file="nbproject/private/private.properties"/>
jtulach@402
    38
        <property environment="env"/>
jtulach@402
    39
        <condition property="scala.home" value="${env.SCALA_HOME}">
jtulach@402
    40
            <isset property="env.SCALA_HOME"/>
jtulach@402
    41
        </condition>
jtulach@402
    42
        <fail unless="scala.home">
jtulach@402
    43
                    You must set SCALA_HOME or environment property and append "-J-Dscala.home=scalahomepath"
jtulach@402
    44
                    property to the end of "netbeans_default_options" in NetBeansInstallationPath/etc/netbeans.conf to point to
jtulach@402
    45
                    Scala installation directory.
jtulach@402
    46
                </fail>
jtulach@402
    47
        <property name="scala.compiler" value="${scala.home}/lib/scala-compiler.jar"/>
jtulach@402
    48
        <property name="scala.library" value="${scala.home}/lib/scala-library.jar"/>
jtulach@402
    49
        <property name="scala.lib" value="${scala.home}/lib"/>
jtulach@402
    50
        <taskdef resource="scala/tools/ant/antlib.xml">
jtulach@402
    51
            <classpath>
jtulach@402
    52
                <pathelement location="${scala.compiler}"/>
jtulach@402
    53
                <pathelement location="${scala.library}"/>
jtulach@402
    54
            </classpath>
jtulach@402
    55
        </taskdef>
jtulach@402
    56
    </target>
jtulach@402
    57
    <target depends="-pre-init,-init-private" name="-init-user">
jtulach@402
    58
        <property file="${user.properties.file}"/>
jtulach@402
    59
        <!-- The two properties below are usually overridden -->
jtulach@402
    60
        <!-- by the active platform. Just a fallback. -->
jtulach@402
    61
        <property name="default.javac.source" value="1.5"/>
jtulach@402
    62
        <property name="default.javac.target" value="1.5"/>
jtulach@402
    63
    </target>
jtulach@402
    64
    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
jtulach@402
    65
        <property file="nbproject/configs/${config}.properties"/>
jtulach@402
    66
        <property file="nbproject/project.properties"/>
jtulach@402
    67
    </target>
jtulach@402
    68
    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
jtulach@402
    69
        <available file="${manifest.file}" property="manifest.available"/>
jtulach@402
    70
        <condition property="manifest.available+main.class">
jtulach@402
    71
            <and>
jtulach@402
    72
                <isset property="manifest.available"/>
jtulach@402
    73
                <isset property="main.class"/>
jtulach@402
    74
                <not>
jtulach@402
    75
                    <equals arg1="${main.class}" arg2="" trim="true"/>
jtulach@402
    76
                </not>
jtulach@402
    77
            </and>
jtulach@402
    78
        </condition>
jtulach@402
    79
        <condition property="manifest.available+main.class+mkdist.available">
jtulach@402
    80
            <and>
jtulach@402
    81
                <istrue value="${manifest.available+main.class}"/>
jtulach@402
    82
                <isset property="libs.CopyLibs.classpath"/>
jtulach@402
    83
            </and>
jtulach@402
    84
        </condition>
jtulach@402
    85
        <condition property="have.tests">
jtulach@402
    86
            <or>
jtulach@402
    87
                <available file="${test.src.dir}"/>
jtulach@402
    88
            </or>
jtulach@402
    89
        </condition>
jtulach@402
    90
        <condition property="have.sources">
jtulach@402
    91
            <or>
jtulach@402
    92
                <available file="${src.dir}"/>
jtulach@402
    93
            </or>
jtulach@402
    94
        </condition>
jtulach@402
    95
        <condition property="netbeans.home+have.tests">
jtulach@402
    96
            <and>
jtulach@402
    97
                <isset property="netbeans.home"/>
jtulach@402
    98
                <isset property="have.tests"/>
jtulach@402
    99
            </and>
jtulach@402
   100
        </condition>
jtulach@402
   101
        <condition property="no.javadoc.preview">
jtulach@402
   102
            <and>
jtulach@402
   103
                <isset property="javadoc.preview"/>
jtulach@402
   104
                <isfalse value="${javadoc.preview}"/>
jtulach@402
   105
            </and>
jtulach@402
   106
        </condition>
jtulach@402
   107
        <property name="run.jvmargs" value=""/>
jtulach@402
   108
        <property name="javac.compilerargs" value=""/>
jtulach@402
   109
        <property name="work.dir" value="${basedir}"/>
jtulach@402
   110
        <condition property="no.deps">
jtulach@402
   111
            <and>
jtulach@402
   112
                <istrue value="${no.dependencies}"/>
jtulach@402
   113
            </and>
jtulach@402
   114
        </condition>
jtulach@402
   115
        <property name="javac.debug" value="true"/>
jtulach@402
   116
        <property name="javadoc.preview" value="true"/>
jtulach@402
   117
        <property name="application.args" value=""/>
jtulach@402
   118
        <property name="source.encoding" value="${file.encoding}"/>
jtulach@402
   119
        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
jtulach@402
   120
            <and>
jtulach@402
   121
                <isset property="javadoc.encoding"/>
jtulach@402
   122
                <not>
jtulach@402
   123
                    <equals arg1="${javadoc.encoding}" arg2=""/>
jtulach@402
   124
                </not>
jtulach@402
   125
            </and>
jtulach@402
   126
        </condition>
jtulach@402
   127
        <property name="javadoc.encoding.used" value="${source.encoding}"/>
jtulach@402
   128
        <property name="includes" value="**"/>
jtulach@402
   129
        <property name="excludes" value=""/>
jtulach@402
   130
        <property name="extdirs" value=" "/>
jtulach@402
   131
        <property name="do.depend" value="false"/>
jtulach@402
   132
        <condition property="do.depend.true">
jtulach@402
   133
            <istrue value="${do.depend}"/>
jtulach@402
   134
        </condition>
jtulach@402
   135
        <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
jtulach@402
   136
            <and>
jtulach@402
   137
                <isset property="jaxws.endorsed.dir"/>
jtulach@402
   138
                <available file="nbproject/jaxws-build.xml"/>
jtulach@402
   139
            </and>
jtulach@402
   140
        </condition>
jtulach@402
   141
    </target>
jtulach@402
   142
    <target name="-post-init">
jtulach@402
   143
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   144
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   145
    </target>
jtulach@402
   146
    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
jtulach@402
   147
        <fail unless="src.dir">Must set src.dir</fail>
jtulach@402
   148
        <fail unless="test.src.dir">Must set test.src.dir</fail>
jtulach@402
   149
        <fail unless="build.dir">Must set build.dir</fail>
jtulach@402
   150
        <fail unless="dist.dir">Must set dist.dir</fail>
jtulach@402
   151
        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
jtulach@402
   152
        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
jtulach@402
   153
        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
jtulach@402
   154
        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
jtulach@402
   155
        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
jtulach@402
   156
        <fail unless="dist.jar">Must set dist.jar</fail>
jtulach@402
   157
    </target>
jtulach@402
   158
    <target name="-init-macrodef-property">
jtulach@402
   159
        <macrodef name="property" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   160
            <attribute name="name"/>
jtulach@402
   161
            <attribute name="value"/>
jtulach@402
   162
            <sequential>
jtulach@402
   163
                <property name="@{name}" value="${@{value}}"/>
jtulach@402
   164
            </sequential>
jtulach@402
   165
        </macrodef>
jtulach@402
   166
    </target>
jtulach@402
   167
    <target name="-init-macrodef-javac">
jtulach@402
   168
        <macrodef name="javac" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   169
            <attribute default="${src.dir}" name="srcdir"/>
jtulach@402
   170
            <attribute default="${build.classes.dir}" name="destdir"/>
jtulach@402
   171
            <attribute default="${javac.classpath}" name="classpath"/>
jtulach@402
   172
            <attribute default="${includes}" name="includes"/>
jtulach@402
   173
            <attribute default="${excludes}" name="excludes"/>
jtulach@402
   174
            <attribute default="${javac.debug}" name="debug"/>
jtulach@402
   175
            <attribute default="" name="sourcepath"/>
jtulach@402
   176
            <element name="customize" optional="true"/>
jtulach@402
   177
            <sequential>
jtulach@402
   178
                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
jtulach@402
   179
                    <classpath>
jtulach@402
   180
                        <path path="@{classpath}"/>
jtulach@402
   181
                        <fileset dir="${scala.lib}">
jtulach@402
   182
                            <include name="**/*.jar"/>
jtulach@402
   183
                        </fileset>
jtulach@402
   184
                    </classpath>
jtulach@402
   185
                    <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
jtulach@402
   186
                    <customize/>
jtulach@402
   187
                </javac>
jtulach@402
   188
            </sequential>
jtulach@402
   189
        </macrodef>
jtulach@402
   190
        <macrodef name="depend" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   191
            <attribute default="${src.dir}" name="srcdir"/>
jtulach@402
   192
            <attribute default="${build.classes.dir}" name="destdir"/>
jtulach@402
   193
            <attribute default="${javac.classpath}" name="classpath"/>
jtulach@402
   194
            <sequential>
jtulach@402
   195
                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
jtulach@402
   196
                    <classpath>
jtulach@402
   197
                        <path>
jtulach@402
   198
                            <pathelement path="@{classpath}"/>
jtulach@402
   199
                            <fileset dir="${scala.lib}">
jtulach@402
   200
                                <include name="**/*.jar"/>
jtulach@402
   201
                            </fileset>
jtulach@402
   202
                            <pathelement location="${build.classes.dir}"/>
jtulach@402
   203
                        </path>
jtulach@402
   204
                    </classpath>
jtulach@402
   205
                </depend>
jtulach@402
   206
            </sequential>
jtulach@402
   207
        </macrodef>
jtulach@402
   208
        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   209
            <attribute default="${build.classes.dir}" name="destdir"/>
jtulach@402
   210
            <sequential>
jtulach@402
   211
                <fail unless="javac.includes">Must set javac.includes</fail>
jtulach@402
   212
                <pathconvert pathsep="," property="javac.includes.binary">
jtulach@402
   213
                    <path>
jtulach@402
   214
                        <filelist dir="@{destdir}" files="${javac.includes}"/>
jtulach@402
   215
                    </path>
jtulach@402
   216
                    <globmapper from="*.java" to="*.class"/>
jtulach@402
   217
                </pathconvert>
jtulach@402
   218
                <delete>
jtulach@402
   219
                    <files includes="${javac.includes.binary}"/>
jtulach@402
   220
                </delete>
jtulach@402
   221
            </sequential>
jtulach@402
   222
        </macrodef>
jtulach@402
   223
    </target>
jtulach@402
   224
    <target name="-init-macrodef-scalac">
jtulach@402
   225
        <macrodef name="scalac" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   226
            <attribute default="${src.dir}" name="srcdir"/>
jtulach@402
   227
            <attribute default="${build.classes.dir}" name="destdir"/>
jtulach@402
   228
            <attribute default="${javac.classpath}" name="classpath"/>
jtulach@402
   229
            <attribute default="${extdirs}" name="extdirs"/>
jtulach@402
   230
            <attribute default="${includes}" name="includes"/>
jtulach@402
   231
            <attribute default="${excludes}" name="excludes"/>
jtulach@402
   232
            <attribute default="${scalac.compilerargs}" name="addparams"/>
jtulach@402
   233
            <attribute default="" name="sourcepath"/>
jtulach@402
   234
            <element name="customize" optional="true"/>
jtulach@402
   235
            <sequential>
jtulach@402
   236
                <scalac addparams="-make:transitive -dependencyfile &quot;${basedir}/${build.dir}/.scala_dependencies&quot; @{addparams}" deprecation="${scalac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" extdirs="@{extdirs}" force="yes" fork="true" includes="@{includes}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="jvm-${javac.target}" unchecked="${scalac.unchecked}">
jtulach@402
   237
                    <classpath>
jtulach@402
   238
                        <path>
jtulach@402
   239
                            <pathelement path="@{classpath}"/>
jtulach@402
   240
                            <fileset dir="${scala.lib}">
jtulach@402
   241
                                <include name="**/*.jar"/>
jtulach@402
   242
                            </fileset>
jtulach@402
   243
                            <pathelement location="${build.classes.dir}"/>
jtulach@402
   244
                        </path>
jtulach@402
   245
                    </classpath>
jtulach@402
   246
                    <customize/>
jtulach@402
   247
                </scalac>
jtulach@402
   248
            </sequential>
jtulach@402
   249
        </macrodef>
jtulach@402
   250
        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   251
            <attribute default="${build.classes.dir}" name="destdir"/>
jtulach@402
   252
            <sequential>
jtulach@402
   253
                <fail unless="javac.includes">Must set javac.includes</fail>
jtulach@402
   254
                <pathconvert pathsep="," property="javac.includes.binary">
jtulach@402
   255
                    <path>
jtulach@402
   256
                        <filelist dir="@{destdir}" files="${javac.includes}"/>
jtulach@402
   257
                    </path>
jtulach@402
   258
                    <globmapper from="*.scala" to="*.class"/>
jtulach@402
   259
                </pathconvert>
jtulach@402
   260
                <delete>
jtulach@402
   261
                    <files includes="${javac.includes.binary}"/>
jtulach@402
   262
                </delete>
jtulach@402
   263
            </sequential>
jtulach@402
   264
        </macrodef>
jtulach@402
   265
    </target>
jtulach@402
   266
    <target name="-init-macrodef-junit">
jtulach@402
   267
        <macrodef name="junit" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   268
            <attribute default="${includes}" name="includes"/>
jtulach@402
   269
            <attribute default="${excludes}" name="excludes"/>
jtulach@402
   270
            <attribute default="**" name="testincludes"/>
jtulach@402
   271
            <sequential>
jtulach@402
   272
                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
jtulach@402
   273
                    <batchtest todir="${build.test.results.dir}">
jtulach@402
   274
                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
jtulach@402
   275
                            <filename name="@{testincludes}"/>
jtulach@402
   276
                        </fileset>
jtulach@402
   277
                    </batchtest>
jtulach@402
   278
                    <classpath>
jtulach@402
   279
                        <path path="${run.test.classpath}"/>
jtulach@402
   280
                        <fileset dir="${scala.lib}">
jtulach@402
   281
                            <include name="**/*.jar"/>
jtulach@402
   282
                        </fileset>
jtulach@402
   283
                    </classpath>
jtulach@402
   284
                    <syspropertyset>
jtulach@402
   285
                        <propertyref prefix="test-sys-prop."/>
jtulach@402
   286
                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
jtulach@402
   287
                    </syspropertyset>
jtulach@402
   288
                    <formatter type="brief" usefile="false"/>
jtulach@402
   289
                    <formatter type="xml"/>
jtulach@402
   290
                    <jvmarg line="${run.jvmargs}"/>
jtulach@402
   291
                </junit>
jtulach@402
   292
            </sequential>
jtulach@402
   293
        </macrodef>
jtulach@402
   294
    </target>
jtulach@402
   295
    <target name="-init-macrodef-nbjpda">
jtulach@402
   296
        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   297
            <attribute default="${main.class}" name="name"/>
jtulach@402
   298
            <attribute default="${debug.classpath}" name="classpath"/>
jtulach@402
   299
            <attribute default="" name="stopclassname"/>
jtulach@402
   300
            <sequential>
jtulach@402
   301
                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
jtulach@402
   302
                    <classpath>
jtulach@402
   303
                        <path path="@{classpath}"/>
jtulach@402
   304
                    </classpath>
jtulach@402
   305
                </nbjpdastart>
jtulach@402
   306
            </sequential>
jtulach@402
   307
        </macrodef>
jtulach@402
   308
        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   309
            <attribute default="${build.classes.dir}" name="dir"/>
jtulach@402
   310
            <sequential>
jtulach@402
   311
                <nbjpdareload>
jtulach@402
   312
                    <fileset dir="@{dir}" includes="${fix.includes}*.class"/>
jtulach@402
   313
                </nbjpdareload>
jtulach@402
   314
            </sequential>
jtulach@402
   315
        </macrodef>
jtulach@402
   316
    </target>
jtulach@402
   317
    <target name="-init-debug-args">
jtulach@402
   318
        <property name="version-output" value="java version &quot;${ant.java.version}"/>
jtulach@402
   319
        <condition property="have-jdk-older-than-1.4">
jtulach@402
   320
            <or>
jtulach@402
   321
                <contains string="${version-output}" substring="java version &quot;1.0"/>
jtulach@402
   322
                <contains string="${version-output}" substring="java version &quot;1.1"/>
jtulach@402
   323
                <contains string="${version-output}" substring="java version &quot;1.2"/>
jtulach@402
   324
                <contains string="${version-output}" substring="java version &quot;1.3"/>
jtulach@402
   325
            </or>
jtulach@402
   326
        </condition>
jtulach@402
   327
        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
jtulach@402
   328
            <istrue value="${have-jdk-older-than-1.4}"/>
jtulach@402
   329
        </condition>
jtulach@402
   330
    </target>
jtulach@402
   331
    <target depends="-init-debug-args" name="-init-macrodef-debug">
jtulach@402
   332
        <macrodef name="debug" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   333
            <attribute default="${main.class}" name="classname"/>
jtulach@402
   334
            <attribute default="${debug.classpath}" name="classpath"/>
jtulach@402
   335
            <element name="customize" optional="true"/>
jtulach@402
   336
            <sequential>
jtulach@402
   337
                <java classname="@{classname}" dir="${work.dir}" fork="true">
jtulach@402
   338
                    <jvmarg line="${debug-args-line}"/>
jtulach@402
   339
                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
jtulach@402
   340
                    <jvmarg line="${run.jvmargs}"/>
jtulach@402
   341
                    <classpath>
jtulach@402
   342
                        <path path="@{classpath}"/>
jtulach@402
   343
                        <fileset dir="${scala.lib}">
jtulach@402
   344
                            <include name="**/*.jar"/>
jtulach@402
   345
                        </fileset>
jtulach@402
   346
                    </classpath>
jtulach@402
   347
                    <syspropertyset>
jtulach@402
   348
                        <propertyref prefix="run-sys-prop."/>
jtulach@402
   349
                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
jtulach@402
   350
                    </syspropertyset>
jtulach@402
   351
                    <customize/>
jtulach@402
   352
                </java>
jtulach@402
   353
            </sequential>
jtulach@402
   354
        </macrodef>
jtulach@402
   355
    </target>
jtulach@402
   356
    <target name="-init-macrodef-java">
jtulach@402
   357
        <macrodef name="java" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   358
            <attribute default="${main.class}" name="classname"/>
jtulach@402
   359
            <element name="customize" optional="true"/>
jtulach@402
   360
            <sequential>
jtulach@402
   361
                <java classname="@{classname}" dir="${work.dir}" fork="true">
jtulach@402
   362
                    <jvmarg line="${run.jvmargs}"/>
jtulach@402
   363
                    <classpath>
jtulach@402
   364
                        <path path="${run.classpath}"/>
jtulach@402
   365
                        <fileset dir="${scala.lib}">
jtulach@402
   366
                            <include name="**/*.jar"/>
jtulach@402
   367
                        </fileset>
jtulach@402
   368
                    </classpath>
jtulach@402
   369
                    <syspropertyset>
jtulach@402
   370
                        <propertyref prefix="run-sys-prop."/>
jtulach@402
   371
                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
jtulach@402
   372
                    </syspropertyset>
jtulach@402
   373
                    <customize/>
jtulach@402
   374
                </java>
jtulach@402
   375
            </sequential>
jtulach@402
   376
        </macrodef>
jtulach@402
   377
    </target>
jtulach@402
   378
    <target name="-init-presetdef-jar">
jtulach@402
   379
        <presetdef name="jar" uri="http://www.netbeans.org/ns/scala-project/1">
jtulach@402
   380
            <jar compress="${jar.compress}" jarfile="${dist.jar}">
jtulach@402
   381
                <scalaProject1:fileset dir="${build.classes.dir}"/>
jtulach@402
   382
            </jar>
jtulach@402
   383
        </presetdef>
jtulach@402
   384
    </target>
jtulach@402
   385
    <target depends="-pre-init,-init-private ,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-scalac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
jtulach@402
   386
    <!--
jtulach@402
   387
                ===================
jtulach@402
   388
                COMPILATION SECTION
jtulach@402
   389
                ===================
jtulach@402
   390
            -->
jtulach@402
   391
    <target depends="init" name="deps-jar" unless="no.deps"/>
jtulach@402
   392
    <target depends="init,deps-jar" name="-pre-pre-compile">
jtulach@402
   393
        <mkdir dir="${build.classes.dir}"/>
jtulach@402
   394
    </target>
jtulach@402
   395
    <target name="-pre-compile">
jtulach@402
   396
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   397
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   398
    </target>
jtulach@402
   399
    <target if="do.depend.true" name="-compile-depend">
jtulach@402
   400
        <scalaProject1:depend/>
jtulach@402
   401
    </target>
jtulach@402
   402
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
jtulach@402
   403
        <scalaProject1:scalac/>
jtulach@402
   404
        <scalaProject1:javac/>
jtulach@402
   405
        <copy todir="${build.classes.dir}">
jtulach@402
   406
            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}&#10;                        " includes="${includes}"/>
jtulach@402
   407
        </copy>
jtulach@402
   408
    </target>
jtulach@402
   409
    <target name="-post-compile">
jtulach@402
   410
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   411
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   412
    </target>
jtulach@402
   413
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
jtulach@402
   414
    <target name="-pre-compile-single">
jtulach@402
   415
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   416
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   417
    </target>
jtulach@402
   418
    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
jtulach@402
   419
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
jtulach@402
   420
        <scalaProject1:force-recompile/>
jtulach@402
   421
        <scalaProject1:scalac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/>
jtulach@402
   422
    </target>
jtulach@402
   423
    <target name="-post-compile-single">
jtulach@402
   424
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   425
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   426
    </target>
jtulach@402
   427
    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
jtulach@402
   428
    <!--
jtulach@402
   429
                ====================
jtulach@402
   430
                JAR BUILDING SECTION
jtulach@402
   431
                ====================
jtulach@402
   432
            -->
jtulach@402
   433
    <target depends="init" name="-pre-pre-jar">
jtulach@402
   434
        <dirname file="${dist.jar}" property="dist.jar.dir"/>
jtulach@402
   435
        <mkdir dir="${dist.jar.dir}"/>
jtulach@402
   436
    </target>
jtulach@402
   437
    <target name="-pre-jar">
jtulach@402
   438
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   439
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   440
    </target>
jtulach@402
   441
    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
jtulach@402
   442
        <scalaProject1:jar/>
jtulach@402
   443
    </target>
jtulach@402
   444
    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
jtulach@402
   445
        <scalaProject1:jar manifest="${manifest.file}"/>
jtulach@402
   446
    </target>
jtulach@402
   447
    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
jtulach@402
   448
        <scalaProject1:jar manifest="${manifest.file}">
jtulach@402
   449
            <scalaProject1:manifest>
jtulach@402
   450
                <scalaProject1:attribute name="Main-Class" value="${main.class}"/>
jtulach@402
   451
            </scalaProject1:manifest>
jtulach@402
   452
        </scalaProject1:jar>
jtulach@402
   453
        <echo>To run this application from the command line without Ant, try:</echo>
jtulach@402
   454
        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
jtulach@402
   455
        <property location="${dist.jar}" name="dist.jar.resolved"/>
jtulach@402
   456
        <pathconvert property="run.classpath.with.dist.jar">
jtulach@402
   457
            <path path="${run.classpath}"/>
jtulach@402
   458
            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
jtulach@402
   459
        </pathconvert>
jtulach@402
   460
        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}
jtulach@402
   461
                </echo>
jtulach@402
   462
    </target>
jtulach@402
   463
    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
jtulach@402
   464
        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
jtulach@402
   465
        <pathconvert property="run.classpath.without.build.classes.dir">
jtulach@402
   466
            <path path="${run.classpath}"/>
jtulach@402
   467
            <map from="${build.classes.dir.resolved}" to=""/>
jtulach@402
   468
        </pathconvert>
jtulach@402
   469
        <pathconvert pathsep=" " property="jar.classpath">
jtulach@402
   470
            <path path="${run.classpath.without.build.classes.dir}"/>
jtulach@402
   471
            <chainedmapper>
jtulach@402
   472
                <flattenmapper/>
jtulach@402
   473
                <globmapper from="*" to="lib/*"/>
jtulach@402
   474
            </chainedmapper>
jtulach@402
   475
        </pathconvert>
jtulach@402
   476
        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
jtulach@402
   477
        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
jtulach@402
   478
            <fileset dir="${build.classes.dir}"/>
jtulach@402
   479
            <manifest>
jtulach@402
   480
                <attribute name="Main-Class" value="${main.class}"/>
jtulach@402
   481
                <attribute name="Class-Path" value="${jar.classpath}"/>
jtulach@402
   482
            </manifest>
jtulach@402
   483
        </copylibs>
jtulach@402
   484
        <echo>To run this application from the command line without Ant, try:</echo>
jtulach@402
   485
        <property location="${dist.jar}" name="dist.jar.resolved"/>
jtulach@402
   486
        <echo>java -jar "${dist.jar.resolved}"
jtulach@402
   487
                </echo>
jtulach@402
   488
    </target>
jtulach@402
   489
    <target name="-post-jar">
jtulach@402
   490
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   491
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   492
    </target>
jtulach@402
   493
    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
jtulach@402
   494
    <!--
jtulach@402
   495
                =================
jtulach@402
   496
                EXECUTION SECTION
jtulach@402
   497
                =================
jtulach@402
   498
            -->
jtulach@402
   499
    <target depends="init,compile" description="Run a main class." name="run">
jtulach@402
   500
        <scalaProject1:java>
jtulach@402
   501
            <customize>
jtulach@402
   502
                <arg line="${application.args}"/>
jtulach@402
   503
            </customize>
jtulach@402
   504
        </scalaProject1:java>
jtulach@402
   505
    </target>
jtulach@402
   506
    <target name="-do-not-recompile">
jtulach@402
   507
        <property name="javac.includes.binary" value=""/>
jtulach@402
   508
    </target>
jtulach@402
   509
    <target depends="init,-do-not-recompile,compile-single" name="run-single">
jtulach@402
   510
        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
jtulach@402
   511
        <scalaProject1:java classname="${run.class}"/>
jtulach@402
   512
    </target>
jtulach@402
   513
    <!--
jtulach@402
   514
                =================
jtulach@402
   515
                DEBUGGING SECTION
jtulach@402
   516
                =================
jtulach@402
   517
            -->
jtulach@402
   518
    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
jtulach@402
   519
        <scalaProject1:nbjpdastart name="${debug.class}"/>
jtulach@402
   520
    </target>
jtulach@402
   521
    <target depends="init,compile" name="-debug-start-debuggee">
jtulach@402
   522
        <scalaProject1:debug>
jtulach@402
   523
            <customize>
jtulach@402
   524
                <arg line="${application.args}"/>
jtulach@402
   525
            </customize>
jtulach@402
   526
        </scalaProject1:debug>
jtulach@402
   527
    </target>
jtulach@402
   528
    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
jtulach@402
   529
    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
jtulach@402
   530
        <scalaProject1:nbjpdastart stopclassname="${main.class}"/>
jtulach@402
   531
    </target>
jtulach@402
   532
    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
jtulach@402
   533
    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
jtulach@402
   534
        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
jtulach@402
   535
        <scalaProject1:debug classname="${debug.class}"/>
jtulach@402
   536
    </target>
jtulach@402
   537
    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
jtulach@402
   538
    <target depends="init" name="-pre-debug-fix">
jtulach@402
   539
        <fail unless="fix.includes">Must set fix.includes</fail>
jtulach@402
   540
        <property name="javac.includes" value="${fix.includes}.java"/>
jtulach@402
   541
    </target>
jtulach@402
   542
    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
jtulach@402
   543
        <scalaProject1:nbjpdareload/>
jtulach@402
   544
    </target>
jtulach@402
   545
    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
jtulach@402
   546
    <!--
jtulach@402
   547
                ===============
jtulach@402
   548
                JAVADOC SECTION
jtulach@402
   549
                ===============
jtulach@402
   550
            -->
jtulach@402
   551
    <target depends="init" name="-javadoc-build">
jtulach@402
   552
        <mkdir dir="${dist.javadoc.dir}"/>
jtulach@402
   553
        <scaladoc addparams="${javadoc.additionalparam}" deprecation="yes" destdir="${dist.javadoc.dir}" doctitle="${javadoc.windowtitle}" encoding="${javadoc.encoding.used}" srcdir="${src.dir}" unchecked="yes">
jtulach@402
   554
            <classpath>
jtulach@402
   555
                <path path="${javac.classpath}"/>
jtulach@402
   556
                <fileset dir="${scala.lib}">
jtulach@402
   557
                    <include name="**/*.jar"/>
jtulach@402
   558
                </fileset>
jtulach@402
   559
            </classpath>
jtulach@402
   560
        </scaladoc>
jtulach@402
   561
    </target>
jtulach@402
   562
    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
jtulach@402
   563
        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
jtulach@402
   564
    </target>
jtulach@402
   565
    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
jtulach@402
   566
    <!--
jtulach@402
   567
                =========================
jtulach@402
   568
                JUNIT COMPILATION SECTION
jtulach@402
   569
                =========================
jtulach@402
   570
            -->
jtulach@402
   571
    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
jtulach@402
   572
        <mkdir dir="${build.test.classes.dir}"/>
jtulach@402
   573
    </target>
jtulach@402
   574
    <target name="-pre-compile-test">
jtulach@402
   575
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   576
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   577
    </target>
jtulach@402
   578
    <target if="do.depend.true" name="-compile-test-depend">
jtulach@402
   579
        <scalaProject1:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
jtulach@402
   580
    </target>
jtulach@402
   581
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
jtulach@402
   582
        <scalaProject1:scalac classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
jtulach@402
   583
        <copy todir="${build.test.classes.dir}">
jtulach@402
   584
            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}&#10;                        " includes="${includes}"/>
jtulach@402
   585
        </copy>
jtulach@402
   586
    </target>
jtulach@402
   587
    <target name="-post-compile-test">
jtulach@402
   588
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   589
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   590
    </target>
jtulach@402
   591
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
jtulach@402
   592
    <target name="-pre-compile-test-single">
jtulach@402
   593
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   594
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   595
    </target>
jtulach@402
   596
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
jtulach@402
   597
        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
jtulach@402
   598
        <scalaProject1:force-recompile destdir="${build.test.classes.dir}"/>
jtulach@402
   599
        <scalaProject1:scalac classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
jtulach@402
   600
        <copy todir="${build.test.classes.dir}">
jtulach@402
   601
            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}&#10;                        " includes="${includes}"/>
jtulach@402
   602
        </copy>
jtulach@402
   603
    </target>
jtulach@402
   604
    <target name="-post-compile-test-single">
jtulach@402
   605
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   606
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   607
    </target>
jtulach@402
   608
    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
jtulach@402
   609
    <!--
jtulach@402
   610
                =======================
jtulach@402
   611
                JUNIT EXECUTION SECTION
jtulach@402
   612
                =======================
jtulach@402
   613
            -->
jtulach@402
   614
    <target depends="init" if="have.tests" name="-pre-test-run">
jtulach@402
   615
        <mkdir dir="${build.test.results.dir}"/>
jtulach@402
   616
    </target>
jtulach@402
   617
    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
jtulach@402
   618
        <scalaProject1:junit testincludes="**/*Test.class"/>
jtulach@402
   619
    </target>
jtulach@402
   620
    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
jtulach@402
   621
        <fail if="tests.failed">Some tests failed; see details above.</fail>
jtulach@402
   622
    </target>
jtulach@402
   623
    <target depends="init" if="have.tests" name="test-report"/>
jtulach@402
   624
    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
jtulach@402
   625
    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
jtulach@402
   626
    <target depends="init" if="have.tests" name="-pre-test-run-single">
jtulach@402
   627
        <mkdir dir="${build.test.results.dir}"/>
jtulach@402
   628
    </target>
jtulach@402
   629
    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
jtulach@402
   630
        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
jtulach@402
   631
        <scalaProject1:junit excludes="" includes="${test.includes}"/>
jtulach@402
   632
    </target>
jtulach@402
   633
    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
jtulach@402
   634
        <fail if="tests.failed">Some tests failed; see details above.</fail>
jtulach@402
   635
    </target>
jtulach@402
   636
    <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
jtulach@402
   637
    <!--
jtulach@402
   638
                =======================
jtulach@402
   639
                JUNIT DEBUGGING SECTION
jtulach@402
   640
                =======================
jtulach@402
   641
            -->
jtulach@402
   642
    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
jtulach@402
   643
        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
jtulach@402
   644
        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
jtulach@402
   645
        <delete file="${test.report.file}"/>
jtulach@402
   646
        <mkdir dir="${build.test.results.dir}"/>
jtulach@402
   647
        <scalaProject1: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}">
jtulach@402
   648
            <customize>
jtulach@402
   649
                <syspropertyset>
jtulach@402
   650
                    <propertyref prefix="test-sys-prop."/>
jtulach@402
   651
                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
jtulach@402
   652
                </syspropertyset>
jtulach@402
   653
                <arg value="${test.class}"/>
jtulach@402
   654
                <arg value="showoutput=true"/>
jtulach@402
   655
                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
jtulach@402
   656
                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
jtulach@402
   657
            </customize>
jtulach@402
   658
        </scalaProject1:debug>
jtulach@402
   659
    </target>
jtulach@402
   660
    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
jtulach@402
   661
        <scalaProject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
jtulach@402
   662
    </target>
jtulach@402
   663
    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
jtulach@402
   664
    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
jtulach@402
   665
        <scalaProject1:nbjpdareload dir="${build.test.classes.dir}"/>
jtulach@402
   666
    </target>
jtulach@402
   667
    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
jtulach@402
   668
    <!--
jtulach@402
   669
                =========================
jtulach@402
   670
                APPLET EXECUTION SECTION
jtulach@402
   671
                =========================
jtulach@402
   672
            -->
jtulach@402
   673
    <target depends="init,compile-single" name="run-applet">
jtulach@402
   674
        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
jtulach@402
   675
        <scalaProject1:java classname="sun.applet.AppletViewer">
jtulach@402
   676
            <customize>
jtulach@402
   677
                <arg value="${applet.url}"/>
jtulach@402
   678
            </customize>
jtulach@402
   679
        </scalaProject1:java>
jtulach@402
   680
    </target>
jtulach@402
   681
    <!--
jtulach@402
   682
                =========================
jtulach@402
   683
                APPLET DEBUGGING  SECTION
jtulach@402
   684
                =========================
jtulach@402
   685
            -->
jtulach@402
   686
    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
jtulach@402
   687
        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
jtulach@402
   688
        <scalaProject1:debug classname="sun.applet.AppletViewer">
jtulach@402
   689
            <customize>
jtulach@402
   690
                <arg value="${applet.url}"/>
jtulach@402
   691
            </customize>
jtulach@402
   692
        </scalaProject1:debug>
jtulach@402
   693
    </target>
jtulach@402
   694
    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
jtulach@402
   695
    <!--
jtulach@402
   696
                ===============
jtulach@402
   697
                CLEANUP SECTION
jtulach@402
   698
                ===============
jtulach@402
   699
            -->
jtulach@402
   700
    <target depends="init" name="deps-clean" unless="no.deps"/>
jtulach@402
   701
    <target depends="init" name="-do-clean">
jtulach@402
   702
        <delete dir="${build.dir}"/>
jtulach@402
   703
        <delete dir="${dist.dir}"/>
jtulach@402
   704
    </target>
jtulach@402
   705
    <target name="-post-clean">
jtulach@402
   706
        <!-- Empty placeholder for easier customization. -->
jtulach@402
   707
        <!-- You can override this target in the ../build.xml file. -->
jtulach@402
   708
    </target>
jtulach@402
   709
    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
jtulach@402
   710
</project>