source: trunk/fmgVen/nbproject/build-impl.xml @ 26

Last change on this file since 26 was 26, checked in by fmguler, 13 years ago

Refs #3 - Ven.save() is transferred to the new package. Save use case is completed. Convert.toDB() converts camel case object names to database names with underscores. Unchecked VenException is thrown by Ven methods. Liquibase changelog (test-db-changelog.xml) is changed to include only a simple object to test save operation. It creates a sample database table and inserts a sample row. On rollback it removes sample data. Using liquibase, Sample.java builds database, tests save operation and rolls back.

QueryGenerator generates insert and update queries for save and generates sequence query to assign ids to new objects. Ven calls query generator and runs the query using spring jdbc template.

Old codebase updated to run at Java 1.4

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