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