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