1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<!--***********************************************************
3*b1cdbd2cSJim Jagielski *
4*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
5*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
6*b1cdbd2cSJim Jagielski * distributed with this work for additional information
7*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
8*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
9*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
10*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
11*b1cdbd2cSJim Jagielski *
12*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
15*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
16*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
18*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
19*b1cdbd2cSJim Jagielski * under the License.
20*b1cdbd2cSJim Jagielski *
21*b1cdbd2cSJim Jagielski ***********************************************************-->
22*b1cdbd2cSJim Jagielski<!--
23*b1cdbd2cSJim Jagielski*** GENERATED FROM project.xml - DO NOT EDIT  ***
24*b1cdbd2cSJim Jagielski***         EDIT ../build.xml INSTEAD         ***
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim JagielskiFor the purpose of easier reading the script
27*b1cdbd2cSJim Jagielskiis divided into following sections:
28*b1cdbd2cSJim Jagielski
29*b1cdbd2cSJim Jagielski  - initialization
30*b1cdbd2cSJim Jagielski  - compilation
31*b1cdbd2cSJim Jagielski  - jar
32*b1cdbd2cSJim Jagielski  - execution
33*b1cdbd2cSJim Jagielski  - debugging
34*b1cdbd2cSJim Jagielski  - javadoc
35*b1cdbd2cSJim Jagielski  - junit compilation
36*b1cdbd2cSJim Jagielski  - junit execution
37*b1cdbd2cSJim Jagielski  - junit debugging
38*b1cdbd2cSJim Jagielski  - applet
39*b1cdbd2cSJim Jagielski  - cleanup
40*b1cdbd2cSJim Jagielski
41*b1cdbd2cSJim Jagielski        -->
42*b1cdbd2cSJim Jagielski<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="ConvwatchGUIProject-impl">
43*b1cdbd2cSJim Jagielski    <fail message="Please build using Ant 1.7.1 or higher.">
44*b1cdbd2cSJim Jagielski        <condition>
45*b1cdbd2cSJim Jagielski            <not>
46*b1cdbd2cSJim Jagielski                <antversion atleast="1.7.1"/>
47*b1cdbd2cSJim Jagielski            </not>
48*b1cdbd2cSJim Jagielski        </condition>
49*b1cdbd2cSJim Jagielski    </fail>
50*b1cdbd2cSJim Jagielski    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
51*b1cdbd2cSJim Jagielski    <!--
52*b1cdbd2cSJim Jagielski                ======================
53*b1cdbd2cSJim Jagielski                INITIALIZATION SECTION
54*b1cdbd2cSJim Jagielski                ======================
55*b1cdbd2cSJim Jagielski            -->
56*b1cdbd2cSJim Jagielski    <target name="-pre-init">
57*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
58*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
59*b1cdbd2cSJim Jagielski    </target>
60*b1cdbd2cSJim Jagielski    <target depends="-pre-init" name="-init-private">
61*b1cdbd2cSJim Jagielski        <property file="nbproject/private/config.properties"/>
62*b1cdbd2cSJim Jagielski        <property file="nbproject/private/configs/${config}.properties"/>
63*b1cdbd2cSJim Jagielski        <property file="nbproject/private/private.properties"/>
64*b1cdbd2cSJim Jagielski    </target>
65*b1cdbd2cSJim Jagielski    <target depends="-pre-init,-init-private" name="-init-user">
66*b1cdbd2cSJim Jagielski        <property file="${user.properties.file}"/>
67*b1cdbd2cSJim Jagielski        <!-- The two properties below are usually overridden -->
68*b1cdbd2cSJim Jagielski        <!-- by the active platform. Just a fallback. -->
69*b1cdbd2cSJim Jagielski        <property name="default.javac.source" value="1.4"/>
70*b1cdbd2cSJim Jagielski        <property name="default.javac.target" value="1.4"/>
71*b1cdbd2cSJim Jagielski    </target>
72*b1cdbd2cSJim Jagielski    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
73*b1cdbd2cSJim Jagielski        <property file="nbproject/configs/${config}.properties"/>
74*b1cdbd2cSJim Jagielski        <property file="nbproject/project.properties"/>
75*b1cdbd2cSJim Jagielski    </target>
76*b1cdbd2cSJim Jagielski    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
77*b1cdbd2cSJim Jagielski        <available file="${manifest.file}" property="manifest.available"/>
78*b1cdbd2cSJim Jagielski        <condition property="main.class.available">
79*b1cdbd2cSJim Jagielski            <and>
80*b1cdbd2cSJim Jagielski                <isset property="main.class"/>
81*b1cdbd2cSJim Jagielski                <not>
82*b1cdbd2cSJim Jagielski                    <equals arg1="${main.class}" arg2="" trim="true"/>
83*b1cdbd2cSJim Jagielski                </not>
84*b1cdbd2cSJim Jagielski            </and>
85*b1cdbd2cSJim Jagielski        </condition>
86*b1cdbd2cSJim Jagielski        <condition property="manifest.available+main.class">
87*b1cdbd2cSJim Jagielski            <and>
88*b1cdbd2cSJim Jagielski                <isset property="manifest.available"/>
89*b1cdbd2cSJim Jagielski                <isset property="main.class.available"/>
90*b1cdbd2cSJim Jagielski            </and>
91*b1cdbd2cSJim Jagielski        </condition>
92*b1cdbd2cSJim Jagielski        <condition property="do.mkdist">
93*b1cdbd2cSJim Jagielski            <and>
94*b1cdbd2cSJim Jagielski                <isset property="libs.CopyLibs.classpath"/>
95*b1cdbd2cSJim Jagielski                <not>
96*b1cdbd2cSJim Jagielski                    <istrue value="${mkdist.disabled}"/>
97*b1cdbd2cSJim Jagielski                </not>
98*b1cdbd2cSJim Jagielski            </and>
99*b1cdbd2cSJim Jagielski        </condition>
100*b1cdbd2cSJim Jagielski        <condition property="manifest.available+main.class+mkdist.available">
101*b1cdbd2cSJim Jagielski            <and>
102*b1cdbd2cSJim Jagielski                <istrue value="${manifest.available+main.class}"/>
103*b1cdbd2cSJim Jagielski                <isset property="do.mkdist"/>
104*b1cdbd2cSJim Jagielski            </and>
105*b1cdbd2cSJim Jagielski        </condition>
106*b1cdbd2cSJim Jagielski        <condition property="manifest.available+mkdist.available">
107*b1cdbd2cSJim Jagielski            <and>
108*b1cdbd2cSJim Jagielski                <istrue value="${manifest.available}"/>
109*b1cdbd2cSJim Jagielski                <isset property="do.mkdist"/>
110*b1cdbd2cSJim Jagielski            </and>
111*b1cdbd2cSJim Jagielski        </condition>
112*b1cdbd2cSJim Jagielski        <condition property="manifest.available-mkdist.available">
113*b1cdbd2cSJim Jagielski            <or>
114*b1cdbd2cSJim Jagielski                <istrue value="${manifest.available}"/>
115*b1cdbd2cSJim Jagielski                <isset property="do.mkdist"/>
116*b1cdbd2cSJim Jagielski            </or>
117*b1cdbd2cSJim Jagielski        </condition>
118*b1cdbd2cSJim Jagielski        <condition property="manifest.available+main.class-mkdist.available">
119*b1cdbd2cSJim Jagielski            <or>
120*b1cdbd2cSJim Jagielski                <istrue value="${manifest.available+main.class}"/>
121*b1cdbd2cSJim Jagielski                <isset property="do.mkdist"/>
122*b1cdbd2cSJim Jagielski            </or>
123*b1cdbd2cSJim Jagielski        </condition>
124*b1cdbd2cSJim Jagielski        <condition property="have.tests">
125*b1cdbd2cSJim Jagielski            <or>
126*b1cdbd2cSJim Jagielski                <available file="${test.src.dir}"/>
127*b1cdbd2cSJim Jagielski            </or>
128*b1cdbd2cSJim Jagielski        </condition>
129*b1cdbd2cSJim Jagielski        <condition property="have.sources">
130*b1cdbd2cSJim Jagielski            <or>
131*b1cdbd2cSJim Jagielski                <available file="${src.dir}"/>
132*b1cdbd2cSJim Jagielski            </or>
133*b1cdbd2cSJim Jagielski        </condition>
134*b1cdbd2cSJim Jagielski        <condition property="netbeans.home+have.tests">
135*b1cdbd2cSJim Jagielski            <and>
136*b1cdbd2cSJim Jagielski                <isset property="netbeans.home"/>
137*b1cdbd2cSJim Jagielski                <isset property="have.tests"/>
138*b1cdbd2cSJim Jagielski            </and>
139*b1cdbd2cSJim Jagielski        </condition>
140*b1cdbd2cSJim Jagielski        <condition property="no.javadoc.preview">
141*b1cdbd2cSJim Jagielski            <and>
142*b1cdbd2cSJim Jagielski                <isset property="javadoc.preview"/>
143*b1cdbd2cSJim Jagielski                <isfalse value="${javadoc.preview}"/>
144*b1cdbd2cSJim Jagielski            </and>
145*b1cdbd2cSJim Jagielski        </condition>
146*b1cdbd2cSJim Jagielski        <property name="run.jvmargs" value=""/>
147*b1cdbd2cSJim Jagielski        <property name="javac.compilerargs" value=""/>
148*b1cdbd2cSJim Jagielski        <property name="work.dir" value="${basedir}"/>
149*b1cdbd2cSJim Jagielski        <condition property="no.deps">
150*b1cdbd2cSJim Jagielski            <and>
151*b1cdbd2cSJim Jagielski                <istrue value="${no.dependencies}"/>
152*b1cdbd2cSJim Jagielski            </and>
153*b1cdbd2cSJim Jagielski        </condition>
154*b1cdbd2cSJim Jagielski        <property name="javac.debug" value="true"/>
155*b1cdbd2cSJim Jagielski        <property name="javadoc.preview" value="true"/>
156*b1cdbd2cSJim Jagielski        <property name="application.args" value=""/>
157*b1cdbd2cSJim Jagielski        <property name="source.encoding" value="${file.encoding}"/>
158*b1cdbd2cSJim Jagielski        <property name="runtime.encoding" value="${source.encoding}"/>
159*b1cdbd2cSJim Jagielski        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
160*b1cdbd2cSJim Jagielski            <and>
161*b1cdbd2cSJim Jagielski                <isset property="javadoc.encoding"/>
162*b1cdbd2cSJim Jagielski                <not>
163*b1cdbd2cSJim Jagielski                    <equals arg1="${javadoc.encoding}" arg2=""/>
164*b1cdbd2cSJim Jagielski                </not>
165*b1cdbd2cSJim Jagielski            </and>
166*b1cdbd2cSJim Jagielski        </condition>
167*b1cdbd2cSJim Jagielski        <property name="javadoc.encoding.used" value="${source.encoding}"/>
168*b1cdbd2cSJim Jagielski        <property name="includes" value="**"/>
169*b1cdbd2cSJim Jagielski        <property name="excludes" value=""/>
170*b1cdbd2cSJim Jagielski        <property name="do.depend" value="false"/>
171*b1cdbd2cSJim Jagielski        <condition property="do.depend.true">
172*b1cdbd2cSJim Jagielski            <istrue value="${do.depend}"/>
173*b1cdbd2cSJim Jagielski        </condition>
174*b1cdbd2cSJim Jagielski        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
175*b1cdbd2cSJim Jagielski        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
176*b1cdbd2cSJim Jagielski            <length length="0" string="${endorsed.classpath}" when="greater"/>
177*b1cdbd2cSJim Jagielski        </condition>
178*b1cdbd2cSJim Jagielski        <property name="javac.fork" value="false"/>
179*b1cdbd2cSJim Jagielski    </target>
180*b1cdbd2cSJim Jagielski    <target name="-post-init">
181*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
182*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
183*b1cdbd2cSJim Jagielski    </target>
184*b1cdbd2cSJim Jagielski    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
185*b1cdbd2cSJim Jagielski        <fail unless="src.dir">Must set src.dir</fail>
186*b1cdbd2cSJim Jagielski        <fail unless="test.src.dir">Must set test.src.dir</fail>
187*b1cdbd2cSJim Jagielski        <fail unless="build.dir">Must set build.dir</fail>
188*b1cdbd2cSJim Jagielski        <fail unless="dist.dir">Must set dist.dir</fail>
189*b1cdbd2cSJim Jagielski        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
190*b1cdbd2cSJim Jagielski        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
191*b1cdbd2cSJim Jagielski        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
192*b1cdbd2cSJim Jagielski        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
193*b1cdbd2cSJim Jagielski        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
194*b1cdbd2cSJim Jagielski        <fail unless="dist.jar">Must set dist.jar</fail>
195*b1cdbd2cSJim Jagielski    </target>
196*b1cdbd2cSJim Jagielski    <target name="-init-macrodef-property">
197*b1cdbd2cSJim Jagielski        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
198*b1cdbd2cSJim Jagielski            <attribute name="name"/>
199*b1cdbd2cSJim Jagielski            <attribute name="value"/>
200*b1cdbd2cSJim Jagielski            <sequential>
201*b1cdbd2cSJim Jagielski                <property name="@{name}" value="${@{value}}"/>
202*b1cdbd2cSJim Jagielski            </sequential>
203*b1cdbd2cSJim Jagielski        </macrodef>
204*b1cdbd2cSJim Jagielski    </target>
205*b1cdbd2cSJim Jagielski    <target name="-init-macrodef-javac">
206*b1cdbd2cSJim Jagielski        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
207*b1cdbd2cSJim Jagielski            <attribute default="${src.dir}" name="srcdir"/>
208*b1cdbd2cSJim Jagielski            <attribute default="${build.classes.dir}" name="destdir"/>
209*b1cdbd2cSJim Jagielski            <attribute default="${javac.classpath}" name="classpath"/>
210*b1cdbd2cSJim Jagielski            <attribute default="${includes}" name="includes"/>
211*b1cdbd2cSJim Jagielski            <attribute default="${excludes}" name="excludes"/>
212*b1cdbd2cSJim Jagielski            <attribute default="${javac.debug}" name="debug"/>
213*b1cdbd2cSJim Jagielski            <attribute default="${empty.dir}" name="sourcepath"/>
214*b1cdbd2cSJim Jagielski            <attribute default="${empty.dir}" name="gensrcdir"/>
215*b1cdbd2cSJim Jagielski            <element name="customize" optional="true"/>
216*b1cdbd2cSJim Jagielski            <sequential>
217*b1cdbd2cSJim Jagielski                <property location="${build.dir}/empty" name="empty.dir"/>
218*b1cdbd2cSJim Jagielski                <mkdir dir="${empty.dir}"/>
219*b1cdbd2cSJim Jagielski                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
220*b1cdbd2cSJim Jagielski                    <src>
221*b1cdbd2cSJim Jagielski                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">
222*b1cdbd2cSJim Jagielski                            <include name="*"/>
223*b1cdbd2cSJim Jagielski                        </dirset>
224*b1cdbd2cSJim Jagielski                    </src>
225*b1cdbd2cSJim Jagielski                    <classpath>
226*b1cdbd2cSJim Jagielski                        <path path="@{classpath}"/>
227*b1cdbd2cSJim Jagielski                    </classpath>
228*b1cdbd2cSJim Jagielski                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
229*b1cdbd2cSJim Jagielski                    <compilerarg line="${javac.compilerargs}"/>
230*b1cdbd2cSJim Jagielski                    <customize/>
231*b1cdbd2cSJim Jagielski                </javac>
232*b1cdbd2cSJim Jagielski            </sequential>
233*b1cdbd2cSJim Jagielski        </macrodef>
234*b1cdbd2cSJim Jagielski        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
235*b1cdbd2cSJim Jagielski            <attribute default="${src.dir}" name="srcdir"/>
236*b1cdbd2cSJim Jagielski            <attribute default="${build.classes.dir}" name="destdir"/>
237*b1cdbd2cSJim Jagielski            <attribute default="${javac.classpath}" name="classpath"/>
238*b1cdbd2cSJim Jagielski            <sequential>
239*b1cdbd2cSJim Jagielski                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
240*b1cdbd2cSJim Jagielski                    <classpath>
241*b1cdbd2cSJim Jagielski                        <path path="@{classpath}"/>
242*b1cdbd2cSJim Jagielski                    </classpath>
243*b1cdbd2cSJim Jagielski                </depend>
244*b1cdbd2cSJim Jagielski            </sequential>
245*b1cdbd2cSJim Jagielski        </macrodef>
246*b1cdbd2cSJim Jagielski        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
247*b1cdbd2cSJim Jagielski            <attribute default="${build.classes.dir}" name="destdir"/>
248*b1cdbd2cSJim Jagielski            <sequential>
249*b1cdbd2cSJim Jagielski                <fail unless="javac.includes">Must set javac.includes</fail>
250*b1cdbd2cSJim Jagielski                <pathconvert pathsep="," property="javac.includes.binary">
251*b1cdbd2cSJim Jagielski                    <path>
252*b1cdbd2cSJim Jagielski                        <filelist dir="@{destdir}" files="${javac.includes}"/>
253*b1cdbd2cSJim Jagielski                    </path>
254*b1cdbd2cSJim Jagielski                    <globmapper from="*.java" to="*.class"/>
255*b1cdbd2cSJim Jagielski                </pathconvert>
256*b1cdbd2cSJim Jagielski                <delete>
257*b1cdbd2cSJim Jagielski                    <files includes="${javac.includes.binary}"/>
258*b1cdbd2cSJim Jagielski                </delete>
259*b1cdbd2cSJim Jagielski            </sequential>
260*b1cdbd2cSJim Jagielski        </macrodef>
261*b1cdbd2cSJim Jagielski    </target>
262*b1cdbd2cSJim Jagielski    <target name="-init-macrodef-junit">
263*b1cdbd2cSJim Jagielski        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
264*b1cdbd2cSJim Jagielski            <attribute default="${includes}" name="includes"/>
265*b1cdbd2cSJim Jagielski            <attribute default="${excludes}" name="excludes"/>
266*b1cdbd2cSJim Jagielski            <attribute default="**" name="testincludes"/>
267*b1cdbd2cSJim Jagielski            <sequential>
268*b1cdbd2cSJim Jagielski                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
269*b1cdbd2cSJim Jagielski                    <batchtest todir="${build.test.results.dir}">
270*b1cdbd2cSJim Jagielski                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
271*b1cdbd2cSJim Jagielski                            <filename name="@{testincludes}"/>
272*b1cdbd2cSJim Jagielski                        </fileset>
273*b1cdbd2cSJim Jagielski                    </batchtest>
274*b1cdbd2cSJim Jagielski                    <classpath>
275*b1cdbd2cSJim Jagielski                        <path path="${run.test.classpath}"/>
276*b1cdbd2cSJim Jagielski                    </classpath>
277*b1cdbd2cSJim Jagielski                    <syspropertyset>
278*b1cdbd2cSJim Jagielski                        <propertyref prefix="test-sys-prop."/>
279*b1cdbd2cSJim Jagielski                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
280*b1cdbd2cSJim Jagielski                    </syspropertyset>
281*b1cdbd2cSJim Jagielski                    <formatter type="brief" usefile="false"/>
282*b1cdbd2cSJim Jagielski                    <formatter type="xml"/>
283*b1cdbd2cSJim Jagielski                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
284*b1cdbd2cSJim Jagielski                    <jvmarg line="${run.jvmargs}"/>
285*b1cdbd2cSJim Jagielski                </junit>
286*b1cdbd2cSJim Jagielski            </sequential>
287*b1cdbd2cSJim Jagielski        </macrodef>
288*b1cdbd2cSJim Jagielski    </target>
289*b1cdbd2cSJim Jagielski    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
290*b1cdbd2cSJim Jagielski        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
291*b1cdbd2cSJim Jagielski            <attribute default="${main.class}" name="name"/>
292*b1cdbd2cSJim Jagielski            <attribute default="${debug.classpath}" name="classpath"/>
293*b1cdbd2cSJim Jagielski            <attribute default="" name="stopclassname"/>
294*b1cdbd2cSJim Jagielski            <sequential>
295*b1cdbd2cSJim Jagielski                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
296*b1cdbd2cSJim Jagielski                    <classpath>
297*b1cdbd2cSJim Jagielski                        <path path="@{classpath}"/>
298*b1cdbd2cSJim Jagielski                    </classpath>
299*b1cdbd2cSJim Jagielski                </nbjpdastart>
300*b1cdbd2cSJim Jagielski            </sequential>
301*b1cdbd2cSJim Jagielski        </macrodef>
302*b1cdbd2cSJim Jagielski        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
303*b1cdbd2cSJim Jagielski            <attribute default="${build.classes.dir}" name="dir"/>
304*b1cdbd2cSJim Jagielski            <sequential>
305*b1cdbd2cSJim Jagielski                <nbjpdareload>
306*b1cdbd2cSJim Jagielski                    <fileset dir="@{dir}" includes="${fix.classes}">
307*b1cdbd2cSJim Jagielski                        <include name="${fix.includes}*.class"/>
308*b1cdbd2cSJim Jagielski                    </fileset>
309*b1cdbd2cSJim Jagielski                </nbjpdareload>
310*b1cdbd2cSJim Jagielski            </sequential>
311*b1cdbd2cSJim Jagielski        </macrodef>
312*b1cdbd2cSJim Jagielski    </target>
313*b1cdbd2cSJim Jagielski    <target name="-init-debug-args">
314*b1cdbd2cSJim Jagielski        <property name="version-output" value="java version &quot;${ant.java.version}"/>
315*b1cdbd2cSJim Jagielski        <condition property="have-jdk-older-than-1.4">
316*b1cdbd2cSJim Jagielski            <or>
317*b1cdbd2cSJim Jagielski                <contains string="${version-output}" substring="java version &quot;1.0"/>
318*b1cdbd2cSJim Jagielski                <contains string="${version-output}" substring="java version &quot;1.1"/>
319*b1cdbd2cSJim Jagielski                <contains string="${version-output}" substring="java version &quot;1.2"/>
320*b1cdbd2cSJim Jagielski                <contains string="${version-output}" substring="java version &quot;1.3"/>
321*b1cdbd2cSJim Jagielski            </or>
322*b1cdbd2cSJim Jagielski        </condition>
323*b1cdbd2cSJim Jagielski        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
324*b1cdbd2cSJim Jagielski            <istrue value="${have-jdk-older-than-1.4}"/>
325*b1cdbd2cSJim Jagielski        </condition>
326*b1cdbd2cSJim Jagielski        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
327*b1cdbd2cSJim Jagielski            <os family="windows"/>
328*b1cdbd2cSJim Jagielski        </condition>
329*b1cdbd2cSJim Jagielski        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
330*b1cdbd2cSJim Jagielski            <isset property="debug.transport"/>
331*b1cdbd2cSJim Jagielski        </condition>
332*b1cdbd2cSJim Jagielski    </target>
333*b1cdbd2cSJim Jagielski    <target depends="-init-debug-args" name="-init-macrodef-debug">
334*b1cdbd2cSJim Jagielski        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
335*b1cdbd2cSJim Jagielski            <attribute default="${main.class}" name="classname"/>
336*b1cdbd2cSJim Jagielski            <attribute default="${debug.classpath}" name="classpath"/>
337*b1cdbd2cSJim Jagielski            <element name="customize" optional="true"/>
338*b1cdbd2cSJim Jagielski            <sequential>
339*b1cdbd2cSJim Jagielski                <java classname="@{classname}" dir="${work.dir}" fork="true">
340*b1cdbd2cSJim Jagielski                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
341*b1cdbd2cSJim Jagielski                    <jvmarg line="${debug-args-line}"/>
342*b1cdbd2cSJim Jagielski                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
343*b1cdbd2cSJim Jagielski                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
344*b1cdbd2cSJim Jagielski                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
345*b1cdbd2cSJim Jagielski                    <jvmarg line="${run.jvmargs}"/>
346*b1cdbd2cSJim Jagielski                    <classpath>
347*b1cdbd2cSJim Jagielski                        <path path="@{classpath}"/>
348*b1cdbd2cSJim Jagielski                    </classpath>
349*b1cdbd2cSJim Jagielski                    <syspropertyset>
350*b1cdbd2cSJim Jagielski                        <propertyref prefix="run-sys-prop."/>
351*b1cdbd2cSJim Jagielski                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
352*b1cdbd2cSJim Jagielski                    </syspropertyset>
353*b1cdbd2cSJim Jagielski                    <customize/>
354*b1cdbd2cSJim Jagielski                </java>
355*b1cdbd2cSJim Jagielski            </sequential>
356*b1cdbd2cSJim Jagielski        </macrodef>
357*b1cdbd2cSJim Jagielski    </target>
358*b1cdbd2cSJim Jagielski    <target name="-init-macrodef-java">
359*b1cdbd2cSJim Jagielski        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
360*b1cdbd2cSJim Jagielski            <attribute default="${main.class}" name="classname"/>
361*b1cdbd2cSJim Jagielski            <attribute default="${run.classpath}" name="classpath"/>
362*b1cdbd2cSJim Jagielski            <element name="customize" optional="true"/>
363*b1cdbd2cSJim Jagielski            <sequential>
364*b1cdbd2cSJim Jagielski                <java classname="@{classname}" dir="${work.dir}" fork="true">
365*b1cdbd2cSJim Jagielski                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
366*b1cdbd2cSJim Jagielski                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
367*b1cdbd2cSJim Jagielski                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
368*b1cdbd2cSJim Jagielski                    <jvmarg line="${run.jvmargs}"/>
369*b1cdbd2cSJim Jagielski                    <classpath>
370*b1cdbd2cSJim Jagielski                        <path path="@{classpath}"/>
371*b1cdbd2cSJim Jagielski                    </classpath>
372*b1cdbd2cSJim Jagielski                    <syspropertyset>
373*b1cdbd2cSJim Jagielski                        <propertyref prefix="run-sys-prop."/>
374*b1cdbd2cSJim Jagielski                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
375*b1cdbd2cSJim Jagielski                    </syspropertyset>
376*b1cdbd2cSJim Jagielski                    <customize/>
377*b1cdbd2cSJim Jagielski                </java>
378*b1cdbd2cSJim Jagielski            </sequential>
379*b1cdbd2cSJim Jagielski        </macrodef>
380*b1cdbd2cSJim Jagielski    </target>
381*b1cdbd2cSJim Jagielski    <target name="-init-presetdef-jar">
382*b1cdbd2cSJim Jagielski        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
383*b1cdbd2cSJim Jagielski            <jar compress="${jar.compress}" jarfile="${dist.jar}">
384*b1cdbd2cSJim Jagielski                <j2seproject1:fileset dir="${build.classes.dir}"/>
385*b1cdbd2cSJim Jagielski            </jar>
386*b1cdbd2cSJim Jagielski        </presetdef>
387*b1cdbd2cSJim Jagielski    </target>
388*b1cdbd2cSJim Jagielski    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
389*b1cdbd2cSJim Jagielski    <!--
390*b1cdbd2cSJim Jagielski                ===================
391*b1cdbd2cSJim Jagielski                COMPILATION SECTION
392*b1cdbd2cSJim Jagielski                ===================
393*b1cdbd2cSJim Jagielski            -->
394*b1cdbd2cSJim Jagielski    <target name="-deps-jar-init" unless="built-jar.properties">
395*b1cdbd2cSJim Jagielski        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
396*b1cdbd2cSJim Jagielski        <delete file="${built-jar.properties}" quiet="true"/>
397*b1cdbd2cSJim Jagielski    </target>
398*b1cdbd2cSJim Jagielski    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
399*b1cdbd2cSJim Jagielski        <echo level="warn" message="Cycle detected: ConvwatchGUIProject was already built"/>
400*b1cdbd2cSJim Jagielski    </target>
401*b1cdbd2cSJim Jagielski    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
402*b1cdbd2cSJim Jagielski        <mkdir dir="${build.dir}"/>
403*b1cdbd2cSJim Jagielski        <touch file="${built-jar.properties}" verbose="false"/>
404*b1cdbd2cSJim Jagielski        <property file="${built-jar.properties}" prefix="already.built.jar."/>
405*b1cdbd2cSJim Jagielski        <antcall target="-warn-already-built-jar"/>
406*b1cdbd2cSJim Jagielski        <propertyfile file="${built-jar.properties}">
407*b1cdbd2cSJim Jagielski            <entry key="${basedir}" value=""/>
408*b1cdbd2cSJim Jagielski        </propertyfile>
409*b1cdbd2cSJim Jagielski    </target>
410*b1cdbd2cSJim Jagielski    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
411*b1cdbd2cSJim Jagielski    <target depends="init" name="-check-automatic-build">
412*b1cdbd2cSJim Jagielski        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
413*b1cdbd2cSJim Jagielski    </target>
414*b1cdbd2cSJim Jagielski    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
415*b1cdbd2cSJim Jagielski        <antcall target="clean"/>
416*b1cdbd2cSJim Jagielski    </target>
417*b1cdbd2cSJim Jagielski    <target depends="init,deps-jar" name="-pre-pre-compile">
418*b1cdbd2cSJim Jagielski        <mkdir dir="${build.classes.dir}"/>
419*b1cdbd2cSJim Jagielski    </target>
420*b1cdbd2cSJim Jagielski    <target name="-pre-compile">
421*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
422*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
423*b1cdbd2cSJim Jagielski    </target>
424*b1cdbd2cSJim Jagielski    <target if="do.depend.true" name="-compile-depend">
425*b1cdbd2cSJim Jagielski        <pathconvert property="build.generated.subdirs">
426*b1cdbd2cSJim Jagielski            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
427*b1cdbd2cSJim Jagielski                <include name="*"/>
428*b1cdbd2cSJim Jagielski            </dirset>
429*b1cdbd2cSJim Jagielski        </pathconvert>
430*b1cdbd2cSJim Jagielski        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
431*b1cdbd2cSJim Jagielski    </target>
432*b1cdbd2cSJim Jagielski    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
433*b1cdbd2cSJim Jagielski        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
434*b1cdbd2cSJim Jagielski        <copy todir="${build.classes.dir}">
435*b1cdbd2cSJim Jagielski            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
436*b1cdbd2cSJim Jagielski        </copy>
437*b1cdbd2cSJim Jagielski    </target>
438*b1cdbd2cSJim Jagielski    <target name="-post-compile">
439*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
440*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
441*b1cdbd2cSJim Jagielski    </target>
442*b1cdbd2cSJim Jagielski    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
443*b1cdbd2cSJim Jagielski    <target name="-pre-compile-single">
444*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
445*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
446*b1cdbd2cSJim Jagielski    </target>
447*b1cdbd2cSJim Jagielski    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
448*b1cdbd2cSJim Jagielski        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
449*b1cdbd2cSJim Jagielski        <j2seproject3:force-recompile/>
450*b1cdbd2cSJim Jagielski        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
451*b1cdbd2cSJim Jagielski    </target>
452*b1cdbd2cSJim Jagielski    <target name="-post-compile-single">
453*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
454*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
455*b1cdbd2cSJim Jagielski    </target>
456*b1cdbd2cSJim Jagielski    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
457*b1cdbd2cSJim Jagielski    <!--
458*b1cdbd2cSJim Jagielski                ====================
459*b1cdbd2cSJim Jagielski                JAR BUILDING SECTION
460*b1cdbd2cSJim Jagielski                ====================
461*b1cdbd2cSJim Jagielski            -->
462*b1cdbd2cSJim Jagielski    <target depends="init" name="-pre-pre-jar">
463*b1cdbd2cSJim Jagielski        <dirname file="${dist.jar}" property="dist.jar.dir"/>
464*b1cdbd2cSJim Jagielski        <mkdir dir="${dist.jar.dir}"/>
465*b1cdbd2cSJim Jagielski    </target>
466*b1cdbd2cSJim Jagielski    <target name="-pre-jar">
467*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
468*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
469*b1cdbd2cSJim Jagielski    </target>
470*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
471*b1cdbd2cSJim Jagielski        <j2seproject1:jar/>
472*b1cdbd2cSJim Jagielski    </target>
473*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
474*b1cdbd2cSJim Jagielski        <j2seproject1:jar manifest="${manifest.file}"/>
475*b1cdbd2cSJim Jagielski    </target>
476*b1cdbd2cSJim Jagielski    <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">
477*b1cdbd2cSJim Jagielski        <j2seproject1:jar manifest="${manifest.file}">
478*b1cdbd2cSJim Jagielski            <j2seproject1:manifest>
479*b1cdbd2cSJim Jagielski                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
480*b1cdbd2cSJim Jagielski            </j2seproject1:manifest>
481*b1cdbd2cSJim Jagielski        </j2seproject1:jar>
482*b1cdbd2cSJim Jagielski        <echo>To run this application from the command line without Ant, try:</echo>
483*b1cdbd2cSJim Jagielski        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
484*b1cdbd2cSJim Jagielski        <property location="${dist.jar}" name="dist.jar.resolved"/>
485*b1cdbd2cSJim Jagielski        <pathconvert property="run.classpath.with.dist.jar">
486*b1cdbd2cSJim Jagielski            <path path="${run.classpath}"/>
487*b1cdbd2cSJim Jagielski            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
488*b1cdbd2cSJim Jagielski        </pathconvert>
489*b1cdbd2cSJim Jagielski        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
490*b1cdbd2cSJim Jagielski    </target>
491*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
492*b1cdbd2cSJim Jagielski        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
493*b1cdbd2cSJim Jagielski        <pathconvert property="run.classpath.without.build.classes.dir">
494*b1cdbd2cSJim Jagielski            <path path="${run.classpath}"/>
495*b1cdbd2cSJim Jagielski            <map from="${build.classes.dir.resolved}" to=""/>
496*b1cdbd2cSJim Jagielski        </pathconvert>
497*b1cdbd2cSJim Jagielski        <pathconvert pathsep=" " property="jar.classpath">
498*b1cdbd2cSJim Jagielski            <path path="${run.classpath.without.build.classes.dir}"/>
499*b1cdbd2cSJim Jagielski            <chainedmapper>
500*b1cdbd2cSJim Jagielski                <flattenmapper/>
501*b1cdbd2cSJim Jagielski                <globmapper from="*" to="lib/*"/>
502*b1cdbd2cSJim Jagielski            </chainedmapper>
503*b1cdbd2cSJim Jagielski        </pathconvert>
504*b1cdbd2cSJim Jagielski        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
505*b1cdbd2cSJim Jagielski        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
506*b1cdbd2cSJim Jagielski            <fileset dir="${build.classes.dir}"/>
507*b1cdbd2cSJim Jagielski            <manifest>
508*b1cdbd2cSJim Jagielski                <attribute name="Main-Class" value="${main.class}"/>
509*b1cdbd2cSJim Jagielski                <attribute name="Class-Path" value="${jar.classpath}"/>
510*b1cdbd2cSJim Jagielski            </manifest>
511*b1cdbd2cSJim Jagielski        </copylibs>
512*b1cdbd2cSJim Jagielski        <echo>To run this application from the command line without Ant, try:</echo>
513*b1cdbd2cSJim Jagielski        <property location="${dist.jar}" name="dist.jar.resolved"/>
514*b1cdbd2cSJim Jagielski        <echo>java -jar "${dist.jar.resolved}"</echo>
515*b1cdbd2cSJim Jagielski    </target>
516*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+mkdist.available" name="-do-jar-with-libraries-without-mainclass" unless="main.class.available">
517*b1cdbd2cSJim Jagielski        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
518*b1cdbd2cSJim Jagielski        <pathconvert property="run.classpath.without.build.classes.dir">
519*b1cdbd2cSJim Jagielski            <path path="${run.classpath}"/>
520*b1cdbd2cSJim Jagielski            <map from="${build.classes.dir.resolved}" to=""/>
521*b1cdbd2cSJim Jagielski        </pathconvert>
522*b1cdbd2cSJim Jagielski        <pathconvert pathsep=" " property="jar.classpath">
523*b1cdbd2cSJim Jagielski            <path path="${run.classpath.without.build.classes.dir}"/>
524*b1cdbd2cSJim Jagielski            <chainedmapper>
525*b1cdbd2cSJim Jagielski                <flattenmapper/>
526*b1cdbd2cSJim Jagielski                <globmapper from="*" to="lib/*"/>
527*b1cdbd2cSJim Jagielski            </chainedmapper>
528*b1cdbd2cSJim Jagielski        </pathconvert>
529*b1cdbd2cSJim Jagielski        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
530*b1cdbd2cSJim Jagielski        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
531*b1cdbd2cSJim Jagielski            <fileset dir="${build.classes.dir}"/>
532*b1cdbd2cSJim Jagielski            <manifest>
533*b1cdbd2cSJim Jagielski                <attribute name="Class-Path" value="${jar.classpath}"/>
534*b1cdbd2cSJim Jagielski            </manifest>
535*b1cdbd2cSJim Jagielski        </copylibs>
536*b1cdbd2cSJim Jagielski    </target>
537*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.mkdist" name="-do-jar-with-libraries-without-manifest" unless="manifest.available">
538*b1cdbd2cSJim Jagielski        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
539*b1cdbd2cSJim Jagielski        <pathconvert property="run.classpath.without.build.classes.dir">
540*b1cdbd2cSJim Jagielski            <path path="${run.classpath}"/>
541*b1cdbd2cSJim Jagielski            <map from="${build.classes.dir.resolved}" to=""/>
542*b1cdbd2cSJim Jagielski        </pathconvert>
543*b1cdbd2cSJim Jagielski        <pathconvert pathsep=" " property="jar.classpath">
544*b1cdbd2cSJim Jagielski            <path path="${run.classpath.without.build.classes.dir}"/>
545*b1cdbd2cSJim Jagielski            <chainedmapper>
546*b1cdbd2cSJim Jagielski                <flattenmapper/>
547*b1cdbd2cSJim Jagielski                <globmapper from="*" to="lib/*"/>
548*b1cdbd2cSJim Jagielski            </chainedmapper>
549*b1cdbd2cSJim Jagielski        </pathconvert>
550*b1cdbd2cSJim Jagielski        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
551*b1cdbd2cSJim Jagielski        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
552*b1cdbd2cSJim Jagielski            <fileset dir="${build.classes.dir}"/>
553*b1cdbd2cSJim Jagielski            <manifest>
554*b1cdbd2cSJim Jagielski                <attribute name="Class-Path" value="${jar.classpath}"/>
555*b1cdbd2cSJim Jagielski            </manifest>
556*b1cdbd2cSJim Jagielski        </copylibs>
557*b1cdbd2cSJim Jagielski    </target>
558*b1cdbd2cSJim Jagielski    <target name="-post-jar">
559*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
560*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
561*b1cdbd2cSJim Jagielski    </target>
562*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-do-jar-with-libraries-without-mainclass,-do-jar-with-libraries-without-manifest,-post-jar" description="Build JAR." name="jar"/>
563*b1cdbd2cSJim Jagielski    <!--
564*b1cdbd2cSJim Jagielski                =================
565*b1cdbd2cSJim Jagielski                EXECUTION SECTION
566*b1cdbd2cSJim Jagielski                =================
567*b1cdbd2cSJim Jagielski            -->
568*b1cdbd2cSJim Jagielski    <target depends="init,compile" description="Run a main class." name="run">
569*b1cdbd2cSJim Jagielski        <j2seproject1:java>
570*b1cdbd2cSJim Jagielski            <customize>
571*b1cdbd2cSJim Jagielski                <arg line="${application.args}"/>
572*b1cdbd2cSJim Jagielski            </customize>
573*b1cdbd2cSJim Jagielski        </j2seproject1:java>
574*b1cdbd2cSJim Jagielski    </target>
575*b1cdbd2cSJim Jagielski    <target name="-do-not-recompile">
576*b1cdbd2cSJim Jagielski        <property name="javac.includes.binary" value=""/>
577*b1cdbd2cSJim Jagielski    </target>
578*b1cdbd2cSJim Jagielski    <target depends="init,compile-single" name="run-single">
579*b1cdbd2cSJim Jagielski        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
580*b1cdbd2cSJim Jagielski        <j2seproject1:java classname="${run.class}"/>
581*b1cdbd2cSJim Jagielski    </target>
582*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single" name="run-test-with-main">
583*b1cdbd2cSJim Jagielski        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
584*b1cdbd2cSJim Jagielski        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
585*b1cdbd2cSJim Jagielski    </target>
586*b1cdbd2cSJim Jagielski    <!--
587*b1cdbd2cSJim Jagielski                =================
588*b1cdbd2cSJim Jagielski                DEBUGGING SECTION
589*b1cdbd2cSJim Jagielski                =================
590*b1cdbd2cSJim Jagielski            -->
591*b1cdbd2cSJim Jagielski    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
592*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdastart name="${debug.class}"/>
593*b1cdbd2cSJim Jagielski    </target>
594*b1cdbd2cSJim Jagielski    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
595*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
596*b1cdbd2cSJim Jagielski    </target>
597*b1cdbd2cSJim Jagielski    <target depends="init,compile" name="-debug-start-debuggee">
598*b1cdbd2cSJim Jagielski        <j2seproject3:debug>
599*b1cdbd2cSJim Jagielski            <customize>
600*b1cdbd2cSJim Jagielski                <arg line="${application.args}"/>
601*b1cdbd2cSJim Jagielski            </customize>
602*b1cdbd2cSJim Jagielski        </j2seproject3:debug>
603*b1cdbd2cSJim Jagielski    </target>
604*b1cdbd2cSJim Jagielski    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
605*b1cdbd2cSJim Jagielski    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
606*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
607*b1cdbd2cSJim Jagielski    </target>
608*b1cdbd2cSJim Jagielski    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
609*b1cdbd2cSJim Jagielski    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
610*b1cdbd2cSJim Jagielski        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
611*b1cdbd2cSJim Jagielski        <j2seproject3:debug classname="${debug.class}"/>
612*b1cdbd2cSJim Jagielski    </target>
613*b1cdbd2cSJim Jagielski    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
614*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
615*b1cdbd2cSJim Jagielski        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
616*b1cdbd2cSJim Jagielski        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
617*b1cdbd2cSJim Jagielski    </target>
618*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
619*b1cdbd2cSJim Jagielski    <target depends="init" name="-pre-debug-fix">
620*b1cdbd2cSJim Jagielski        <fail unless="fix.includes">Must set fix.includes</fail>
621*b1cdbd2cSJim Jagielski        <property name="javac.includes" value="${fix.includes}.java"/>
622*b1cdbd2cSJim Jagielski    </target>
623*b1cdbd2cSJim Jagielski    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
624*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdareload/>
625*b1cdbd2cSJim Jagielski    </target>
626*b1cdbd2cSJim Jagielski    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
627*b1cdbd2cSJim Jagielski    <!--
628*b1cdbd2cSJim Jagielski                ===============
629*b1cdbd2cSJim Jagielski                JAVADOC SECTION
630*b1cdbd2cSJim Jagielski                ===============
631*b1cdbd2cSJim Jagielski            -->
632*b1cdbd2cSJim Jagielski    <target depends="init" name="-javadoc-build">
633*b1cdbd2cSJim Jagielski        <mkdir dir="${dist.javadoc.dir}"/>
634*b1cdbd2cSJim Jagielski        <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}">
635*b1cdbd2cSJim Jagielski            <classpath>
636*b1cdbd2cSJim Jagielski                <path path="${javac.classpath}"/>
637*b1cdbd2cSJim Jagielski            </classpath>
638*b1cdbd2cSJim Jagielski            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
639*b1cdbd2cSJim Jagielski                <filename name="**/*.java"/>
640*b1cdbd2cSJim Jagielski            </fileset>
641*b1cdbd2cSJim Jagielski            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
642*b1cdbd2cSJim Jagielski                <include name="**/*.java"/>
643*b1cdbd2cSJim Jagielski            </fileset>
644*b1cdbd2cSJim Jagielski        </javadoc>
645*b1cdbd2cSJim Jagielski    </target>
646*b1cdbd2cSJim Jagielski    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
647*b1cdbd2cSJim Jagielski        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
648*b1cdbd2cSJim Jagielski    </target>
649*b1cdbd2cSJim Jagielski    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
650*b1cdbd2cSJim Jagielski    <!--
651*b1cdbd2cSJim Jagielski                =========================
652*b1cdbd2cSJim Jagielski                JUNIT COMPILATION SECTION
653*b1cdbd2cSJim Jagielski                =========================
654*b1cdbd2cSJim Jagielski            -->
655*b1cdbd2cSJim Jagielski    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
656*b1cdbd2cSJim Jagielski        <mkdir dir="${build.test.classes.dir}"/>
657*b1cdbd2cSJim Jagielski    </target>
658*b1cdbd2cSJim Jagielski    <target name="-pre-compile-test">
659*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
660*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
661*b1cdbd2cSJim Jagielski    </target>
662*b1cdbd2cSJim Jagielski    <target if="do.depend.true" name="-compile-test-depend">
663*b1cdbd2cSJim Jagielski        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
664*b1cdbd2cSJim Jagielski    </target>
665*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
666*b1cdbd2cSJim Jagielski        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
667*b1cdbd2cSJim Jagielski        <copy todir="${build.test.classes.dir}">
668*b1cdbd2cSJim Jagielski            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
669*b1cdbd2cSJim Jagielski        </copy>
670*b1cdbd2cSJim Jagielski    </target>
671*b1cdbd2cSJim Jagielski    <target name="-post-compile-test">
672*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
673*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
674*b1cdbd2cSJim Jagielski    </target>
675*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
676*b1cdbd2cSJim Jagielski    <target name="-pre-compile-test-single">
677*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
678*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
679*b1cdbd2cSJim Jagielski    </target>
680*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
681*b1cdbd2cSJim Jagielski        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
682*b1cdbd2cSJim Jagielski        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
683*b1cdbd2cSJim Jagielski        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
684*b1cdbd2cSJim Jagielski        <copy todir="${build.test.classes.dir}">
685*b1cdbd2cSJim Jagielski            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
686*b1cdbd2cSJim Jagielski        </copy>
687*b1cdbd2cSJim Jagielski    </target>
688*b1cdbd2cSJim Jagielski    <target name="-post-compile-test-single">
689*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
690*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
691*b1cdbd2cSJim Jagielski    </target>
692*b1cdbd2cSJim Jagielski    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
693*b1cdbd2cSJim Jagielski    <!--
694*b1cdbd2cSJim Jagielski                =======================
695*b1cdbd2cSJim Jagielski                JUNIT EXECUTION SECTION
696*b1cdbd2cSJim Jagielski                =======================
697*b1cdbd2cSJim Jagielski            -->
698*b1cdbd2cSJim Jagielski    <target depends="init" if="have.tests" name="-pre-test-run">
699*b1cdbd2cSJim Jagielski        <mkdir dir="${build.test.results.dir}"/>
700*b1cdbd2cSJim Jagielski    </target>
701*b1cdbd2cSJim Jagielski    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
702*b1cdbd2cSJim Jagielski        <j2seproject3:junit testincludes="**/*Test.java"/>
703*b1cdbd2cSJim Jagielski    </target>
704*b1cdbd2cSJim Jagielski    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
705*b1cdbd2cSJim Jagielski        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
706*b1cdbd2cSJim Jagielski    </target>
707*b1cdbd2cSJim Jagielski    <target depends="init" if="have.tests" name="test-report"/>
708*b1cdbd2cSJim Jagielski    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
709*b1cdbd2cSJim Jagielski    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
710*b1cdbd2cSJim Jagielski    <target depends="init" if="have.tests" name="-pre-test-run-single">
711*b1cdbd2cSJim Jagielski        <mkdir dir="${build.test.results.dir}"/>
712*b1cdbd2cSJim Jagielski    </target>
713*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
714*b1cdbd2cSJim Jagielski        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
715*b1cdbd2cSJim Jagielski        <j2seproject3:junit excludes="" includes="${test.includes}"/>
716*b1cdbd2cSJim Jagielski    </target>
717*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
718*b1cdbd2cSJim Jagielski        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
719*b1cdbd2cSJim Jagielski    </target>
720*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
721*b1cdbd2cSJim Jagielski    <!--
722*b1cdbd2cSJim Jagielski                =======================
723*b1cdbd2cSJim Jagielski                JUNIT DEBUGGING SECTION
724*b1cdbd2cSJim Jagielski                =======================
725*b1cdbd2cSJim Jagielski            -->
726*b1cdbd2cSJim Jagielski    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
727*b1cdbd2cSJim Jagielski        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
728*b1cdbd2cSJim Jagielski        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
729*b1cdbd2cSJim Jagielski        <delete file="${test.report.file}"/>
730*b1cdbd2cSJim Jagielski        <mkdir dir="${build.test.results.dir}"/>
731*b1cdbd2cSJim Jagielski        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
732*b1cdbd2cSJim Jagielski            <customize>
733*b1cdbd2cSJim Jagielski                <syspropertyset>
734*b1cdbd2cSJim Jagielski                    <propertyref prefix="test-sys-prop."/>
735*b1cdbd2cSJim Jagielski                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
736*b1cdbd2cSJim Jagielski                </syspropertyset>
737*b1cdbd2cSJim Jagielski                <arg value="${test.class}"/>
738*b1cdbd2cSJim Jagielski                <arg value="showoutput=true"/>
739*b1cdbd2cSJim Jagielski                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
740*b1cdbd2cSJim Jagielski                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
741*b1cdbd2cSJim Jagielski            </customize>
742*b1cdbd2cSJim Jagielski        </j2seproject3:debug>
743*b1cdbd2cSJim Jagielski    </target>
744*b1cdbd2cSJim Jagielski    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
745*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
746*b1cdbd2cSJim Jagielski    </target>
747*b1cdbd2cSJim Jagielski    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
748*b1cdbd2cSJim Jagielski    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
749*b1cdbd2cSJim Jagielski        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
750*b1cdbd2cSJim Jagielski    </target>
751*b1cdbd2cSJim Jagielski    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
752*b1cdbd2cSJim Jagielski    <!--
753*b1cdbd2cSJim Jagielski                =========================
754*b1cdbd2cSJim Jagielski                APPLET EXECUTION SECTION
755*b1cdbd2cSJim Jagielski                =========================
756*b1cdbd2cSJim Jagielski            -->
757*b1cdbd2cSJim Jagielski    <target depends="init,compile-single" name="run-applet">
758*b1cdbd2cSJim Jagielski        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
759*b1cdbd2cSJim Jagielski        <j2seproject1:java classname="sun.applet.AppletViewer">
760*b1cdbd2cSJim Jagielski            <customize>
761*b1cdbd2cSJim Jagielski                <arg value="${applet.url}"/>
762*b1cdbd2cSJim Jagielski            </customize>
763*b1cdbd2cSJim Jagielski        </j2seproject1:java>
764*b1cdbd2cSJim Jagielski    </target>
765*b1cdbd2cSJim Jagielski    <!--
766*b1cdbd2cSJim Jagielski                =========================
767*b1cdbd2cSJim Jagielski                APPLET DEBUGGING  SECTION
768*b1cdbd2cSJim Jagielski                =========================
769*b1cdbd2cSJim Jagielski            -->
770*b1cdbd2cSJim Jagielski    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
771*b1cdbd2cSJim Jagielski        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
772*b1cdbd2cSJim Jagielski        <j2seproject3:debug classname="sun.applet.AppletViewer">
773*b1cdbd2cSJim Jagielski            <customize>
774*b1cdbd2cSJim Jagielski                <arg value="${applet.url}"/>
775*b1cdbd2cSJim Jagielski            </customize>
776*b1cdbd2cSJim Jagielski        </j2seproject3:debug>
777*b1cdbd2cSJim Jagielski    </target>
778*b1cdbd2cSJim Jagielski    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
779*b1cdbd2cSJim Jagielski    <!--
780*b1cdbd2cSJim Jagielski                ===============
781*b1cdbd2cSJim Jagielski                CLEANUP SECTION
782*b1cdbd2cSJim Jagielski                ===============
783*b1cdbd2cSJim Jagielski            -->
784*b1cdbd2cSJim Jagielski    <target name="-deps-clean-init" unless="built-clean.properties">
785*b1cdbd2cSJim Jagielski        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
786*b1cdbd2cSJim Jagielski        <delete file="${built-clean.properties}" quiet="true"/>
787*b1cdbd2cSJim Jagielski    </target>
788*b1cdbd2cSJim Jagielski    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
789*b1cdbd2cSJim Jagielski        <echo level="warn" message="Cycle detected: ConvwatchGUIProject was already built"/>
790*b1cdbd2cSJim Jagielski    </target>
791*b1cdbd2cSJim Jagielski    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
792*b1cdbd2cSJim Jagielski        <mkdir dir="${build.dir}"/>
793*b1cdbd2cSJim Jagielski        <touch file="${built-clean.properties}" verbose="false"/>
794*b1cdbd2cSJim Jagielski        <property file="${built-clean.properties}" prefix="already.built.clean."/>
795*b1cdbd2cSJim Jagielski        <antcall target="-warn-already-built-clean"/>
796*b1cdbd2cSJim Jagielski        <propertyfile file="${built-clean.properties}">
797*b1cdbd2cSJim Jagielski            <entry key="${basedir}" value=""/>
798*b1cdbd2cSJim Jagielski        </propertyfile>
799*b1cdbd2cSJim Jagielski    </target>
800*b1cdbd2cSJim Jagielski    <target depends="init" name="-do-clean">
801*b1cdbd2cSJim Jagielski        <delete dir="${build.dir}"/>
802*b1cdbd2cSJim Jagielski        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
803*b1cdbd2cSJim Jagielski    </target>
804*b1cdbd2cSJim Jagielski    <target name="-post-clean">
805*b1cdbd2cSJim Jagielski        <!-- Empty placeholder for easier customization. -->
806*b1cdbd2cSJim Jagielski        <!-- You can override this target in the ../build.xml file. -->
807*b1cdbd2cSJim Jagielski    </target>
808*b1cdbd2cSJim Jagielski    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
809*b1cdbd2cSJim Jagielski    <target name="-check-call-dep">
810*b1cdbd2cSJim Jagielski        <property file="${call.built.properties}" prefix="already.built."/>
811*b1cdbd2cSJim Jagielski        <condition property="should.call.dep">
812*b1cdbd2cSJim Jagielski            <not>
813*b1cdbd2cSJim Jagielski                <isset property="already.built.${call.subproject}"/>
814*b1cdbd2cSJim Jagielski            </not>
815*b1cdbd2cSJim Jagielski        </condition>
816*b1cdbd2cSJim Jagielski    </target>
817*b1cdbd2cSJim Jagielski    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
818*b1cdbd2cSJim Jagielski        <ant antfile="${call.script}" inheritall="false" target="${call.target}">
819*b1cdbd2cSJim Jagielski            <propertyset>
820*b1cdbd2cSJim Jagielski                <propertyref prefix="transfer."/>
821*b1cdbd2cSJim Jagielski                <mapper from="transfer.*" to="*" type="glob"/>
822*b1cdbd2cSJim Jagielski            </propertyset>
823*b1cdbd2cSJim Jagielski        </ant>
824*b1cdbd2cSJim Jagielski    </target>
825*b1cdbd2cSJim Jagielski</project>
826