java/sql-dk/nbproject/build-impl.xml
branchv_0
changeset 173 b48a82a64a02
parent 18 7900bb1666f6
child 231 71439ecbe71f
equal deleted inserted replaced
172:dec1ba8af6c5 173:b48a82a64a02
    52     <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    52     <target depends="-pre-init,-init-private,-init-user" name="-init-project">
    53         <property file="nbproject/configs/${config}.properties"/>
    53         <property file="nbproject/configs/${config}.properties"/>
    54         <property file="nbproject/project.properties"/>
    54         <property file="nbproject/project.properties"/>
    55     </target>
    55     </target>
    56     <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
    56     <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
       
    57         <property name="platform.java" value="${java.home}/bin/java"/>
    57         <available file="${manifest.file}" property="manifest.available"/>
    58         <available file="${manifest.file}" property="manifest.available"/>
    58         <condition property="splashscreen.available">
    59         <condition property="splashscreen.available">
    59             <and>
    60             <and>
    60                 <not>
    61                 <not>
    61                     <equals arg1="${application.splash}" arg2="" trim="true"/>
    62                     <equals arg1="${application.splash}" arg2="" trim="true"/>
    69                 <not>
    70                 <not>
    70                     <equals arg1="${main.class}" arg2="" trim="true"/>
    71                     <equals arg1="${main.class}" arg2="" trim="true"/>
    71                 </not>
    72                 </not>
    72             </and>
    73             </and>
    73         </condition>
    74         </condition>
    74         <condition property="manifest.available+main.class">
    75         <condition property="profile.available">
    75             <and>
    76             <and>
    76                 <isset property="manifest.available"/>
    77                 <isset property="javac.profile"/>
    77                 <isset property="main.class.available"/>
    78                 <length length="0" string="${javac.profile}" when="greater"/>
       
    79                 <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
    78             </and>
    80             </and>
    79         </condition>
    81         </condition>
    80         <condition property="do.archive">
    82         <condition property="do.archive">
    81             <not>
    83             <or>
    82                 <istrue value="${jar.archive.disabled}"/>
    84                 <not>
    83             </not>
    85                     <istrue value="${jar.archive.disabled}"/>
       
    86                 </not>
       
    87                 <istrue value="${not.archive.disabled}"/>
       
    88             </or>
    84         </condition>
    89         </condition>
    85         <condition property="do.mkdist">
    90         <condition property="do.mkdist">
    86             <and>
    91             <and>
    87                 <isset property="do.archive"/>
    92                 <isset property="do.archive"/>
    88                 <isset property="libs.CopyLibs.classpath"/>
    93                 <isset property="libs.CopyLibs.classpath"/>
    89                 <not>
    94                 <not>
    90                     <istrue value="${mkdist.disabled}"/>
    95                     <istrue value="${mkdist.disabled}"/>
    91                 </not>
    96                 </not>
    92             </and>
    97             </and>
    93         </condition>
    98         </condition>
    94         <condition property="manifest.available+main.class+mkdist.available">
       
    95             <and>
       
    96                 <istrue value="${manifest.available+main.class}"/>
       
    97                 <isset property="do.mkdist"/>
       
    98             </and>
       
    99         </condition>
       
   100         <condition property="do.archive+manifest.available">
    99         <condition property="do.archive+manifest.available">
   101             <and>
   100             <and>
   102                 <isset property="manifest.available"/>
   101                 <isset property="manifest.available"/>
   103                 <istrue value="${do.archive}"/>
   102                 <istrue value="${do.archive}"/>
   104             </and>
   103             </and>
   113             <and>
   112             <and>
   114                 <isset property="splashscreen.available"/>
   113                 <isset property="splashscreen.available"/>
   115                 <istrue value="${do.archive}"/>
   114                 <istrue value="${do.archive}"/>
   116             </and>
   115             </and>
   117         </condition>
   116         </condition>
   118         <condition property="do.archive+manifest.available+main.class">
   117         <condition property="do.archive+profile.available">
   119             <and>
   118             <and>
   120                 <istrue value="${manifest.available+main.class}"/>
   119                 <isset property="profile.available"/>
   121                 <istrue value="${do.archive}"/>
   120                 <istrue value="${do.archive}"/>
   122             </and>
   121             </and>
   123         </condition>
       
   124         <condition property="manifest.available-mkdist.available">
       
   125             <or>
       
   126                 <istrue value="${manifest.available}"/>
       
   127                 <isset property="do.mkdist"/>
       
   128             </or>
       
   129         </condition>
       
   130         <condition property="manifest.available+main.class-mkdist.available">
       
   131             <or>
       
   132                 <istrue value="${manifest.available+main.class}"/>
       
   133                 <isset property="do.mkdist"/>
       
   134             </or>
       
   135         </condition>
   122         </condition>
   136         <condition property="have.tests">
   123         <condition property="have.tests">
   137             <or>
   124             <or>
   138                 <available file="${test.src.dir}"/>
   125                 <available file="${test.src.dir}"/>
   139             </or>
   126             </or>
   185         <condition property="do.depend.true">
   172         <condition property="do.depend.true">
   186             <istrue value="${do.depend}"/>
   173             <istrue value="${do.depend}"/>
   187         </condition>
   174         </condition>
   188         <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   175         <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
   189         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   176         <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
   190             <length length="0" string="${endorsed.classpath}" when="greater"/>
   177             <and>
       
   178                 <isset property="endorsed.classpath"/>
       
   179                 <not>
       
   180                     <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
       
   181                 </not>
       
   182             </and>
       
   183         </condition>
       
   184         <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
       
   185             <isset property="profile.available"/>
   191         </condition>
   186         </condition>
   192         <condition else="false" property="jdkBug6558476">
   187         <condition else="false" property="jdkBug6558476">
   193             <and>
   188             <and>
   194                 <matches pattern="1\.[56]" string="${java.specification.version}"/>
   189                 <matches pattern="1\.[56]" string="${java.specification.version}"/>
   195                 <not>
   190                 <not>
   275                     </src>
   270                     </src>
   276                     <classpath>
   271                     <classpath>
   277                         <path path="@{classpath}"/>
   272                         <path path="@{classpath}"/>
   278                     </classpath>
   273                     </classpath>
   279                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   274                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
       
   275                     <compilerarg line="${javac.profile.cmd.line.arg}"/>
   280                     <compilerarg line="${javac.compilerargs}"/>
   276                     <compilerarg line="${javac.compilerargs}"/>
   281                     <compilerarg value="-processorpath"/>
   277                     <compilerarg value="-processorpath"/>
   282                     <compilerarg path="@{processorpath}:${empty.dir}"/>
   278                     <compilerarg path="@{processorpath}:${empty.dir}"/>
   283                     <compilerarg line="${ap.processors.internal}"/>
   279                     <compilerarg line="${ap.processors.internal}"/>
   284                     <compilerarg line="${annotation.processing.processor.options}"/>
   280                     <compilerarg line="${annotation.processing.processor.options}"/>
   314                     </src>
   310                     </src>
   315                     <classpath>
   311                     <classpath>
   316                         <path path="@{classpath}"/>
   312                         <path path="@{classpath}"/>
   317                     </classpath>
   313                     </classpath>
   318                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
   314                     <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
       
   315                     <compilerarg line="${javac.profile.cmd.line.arg}"/>
   319                     <compilerarg line="${javac.compilerargs}"/>
   316                     <compilerarg line="${javac.compilerargs}"/>
   320                     <customize/>
   317                     <customize/>
   321                 </javac>
   318                 </javac>
   322             </sequential>
   319             </sequential>
   323         </macrodef>
   320         </macrodef>
   446                     <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   443                     <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
   447                         <filename name="@{testincludes}"/>
   444                         <filename name="@{testincludes}"/>
   448                     </fileset>
   445                     </fileset>
   449                 </union>
   446                 </union>
   450                 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   447                 <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
   451                 <testng classfilesetref="test.set" failureProperty="tests.failed" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="sql-dk" testname="TestNG tests" workingDir="${work.dir}">
   448                 <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="sql-dk" testname="TestNG tests" workingDir="${work.dir}">
   452                     <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   449                     <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
   453                     <propertyset>
   450                     <propertyset>
   454                         <propertyref prefix="test-sys-prop."/>
   451                         <propertyref prefix="test-sys-prop."/>
   455                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   452                         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   456                     </propertyset>
   453                     </propertyset>
   837                         </filtermapper>
   834                         </filtermapper>
   838                         <globmapper from="*" to="lib/*"/>
   835                         <globmapper from="*" to="lib/*"/>
   839                     </chainedmapper>
   836                     </chainedmapper>
   840                 </pathconvert>
   837                 </pathconvert>
   841                 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   838                 <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
   842                 <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   839                 <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
   843                     <fileset dir="${build.classes.dir}"/>
   840                     <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   844                     <manifest>
   841                     <manifest>
   845                         <attribute name="Class-Path" value="${jar.classpath}"/>
   842                         <attribute name="Class-Path" value="${jar.classpath}"/>
   846                         <customize/>
   843                         <customize/>
   847                     </manifest>
   844                     </manifest>
   848                 </copylibs>
   845                 </copylibs>
   850         </macrodef>
   847         </macrodef>
   851     </target>
   848     </target>
   852     <target name="-init-presetdef-jar">
   849     <target name="-init-presetdef-jar">
   853         <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   850         <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
   854             <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   851             <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
   855                 <j2seproject1:fileset dir="${build.classes.dir}"/>
   852                 <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
   856             </jar>
   853             </jar>
   857         </presetdef>
   854         </presetdef>
   858     </target>
   855     </target>
   859     <target name="-init-ap-cmdline-properties">
   856     <target name="-init-ap-cmdline-properties">
   860         <property name="annotation.processing.enabled" value="true"/>
   857         <property name="annotation.processing.enabled" value="true"/>
   967     </target>
   964     </target>
   968     <target name="-pre-jar">
   965     <target name="-pre-jar">
   969         <!-- Empty placeholder for easier customization. -->
   966         <!-- Empty placeholder for easier customization. -->
   970         <!-- You can override this target in the ../build.xml file. -->
   967         <!-- You can override this target in the ../build.xml file. -->
   971     </target>
   968     </target>
   972     <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
   969     <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
   973         <j2seproject1:jar/>
   970         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   974     </target>
   971         <touch file="${tmp.manifest.file}" verbose="false"/>
   975     <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
   972     </target>
   976         <j2seproject1:jar manifest="${manifest.file}"/>
   973     <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
   977     </target>
   974         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
   978     <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">
   975         <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
   979         <j2seproject1:jar manifest="${manifest.file}">
   976     </target>
   980             <j2seproject1:manifest>
   977     <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
   981                 <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
   978         <manifest file="${tmp.manifest.file}" mode="update">
   982             </j2seproject1:manifest>
   979             <attribute name="Main-Class" value="${main.class}"/>
   983         </j2seproject1:jar>
   980         </manifest>
       
   981     </target>
       
   982     <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
       
   983         <manifest file="${tmp.manifest.file}" mode="update">
       
   984             <attribute name="Profile" value="${javac.profile}"/>
       
   985         </manifest>
       
   986     </target>
       
   987     <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
       
   988         <basename file="${application.splash}" property="splashscreen.basename"/>
       
   989         <mkdir dir="${build.classes.dir}/META-INF"/>
       
   990         <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
       
   991         <manifest file="${tmp.manifest.file}" mode="update">
       
   992             <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
       
   993         </manifest>
       
   994     </target>
       
   995     <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
       
   996         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
   984         <echo level="info">To run this application from the command line without Ant, try:</echo>
   997         <echo level="info">To run this application from the command line without Ant, try:</echo>
       
   998         <property location="${dist.jar}" name="dist.jar.resolved"/>
       
   999         <echo level="info">java -jar "${dist.jar.resolved}"</echo>
       
  1000     </target>
       
  1001     <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
       
  1002         <j2seproject1:jar manifest="${tmp.manifest.file}"/>
   985         <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
  1003         <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
   986         <property location="${dist.jar}" name="dist.jar.resolved"/>
  1004         <property location="${dist.jar}" name="dist.jar.resolved"/>
   987         <pathconvert property="run.classpath.with.dist.jar">
  1005         <pathconvert property="run.classpath.with.dist.jar">
   988             <path path="${run.classpath}"/>
  1006             <path path="${run.classpath}"/>
   989             <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
  1007             <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
   990         </pathconvert>
  1008         </pathconvert>
   991         <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
  1009         <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
   992     </target>
  1010             <isset property="main.class.available"/>
   993     <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
  1011         </condition>
   994         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  1012         <condition else="debug" property="jar.usage.level" value="info">
   995         <touch file="${tmp.manifest.file}" verbose="false"/>
  1013             <isset property="main.class.available"/>
   996     </target>
  1014         </condition>
   997     <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
  1015         <echo level="${jar.usage.level}" message="${jar.usage.message}"/>
   998         <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
  1016     </target>
   999         <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
  1017     <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
  1000     </target>
       
  1001     <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
       
  1002         <manifest file="${tmp.manifest.file}" mode="update">
       
  1003             <attribute name="Main-Class" value="${main.class}"/>
       
  1004         </manifest>
       
  1005     </target>
       
  1006     <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
       
  1007         <basename file="${application.splash}" property="splashscreen.basename"/>
       
  1008         <mkdir dir="${build.classes.dir}/META-INF"/>
       
  1009         <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
       
  1010         <manifest file="${tmp.manifest.file}" mode="update">
       
  1011             <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
       
  1012         </manifest>
       
  1013     </target>
       
  1014     <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
       
  1015         <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
       
  1016         <echo level="info">To run this application from the command line without Ant, try:</echo>
       
  1017         <property location="${dist.jar}" name="dist.jar.resolved"/>
       
  1018         <echo level="info">java -jar "${dist.jar.resolved}"</echo>
       
  1019     </target>
       
  1020     <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
       
  1021         <delete>
  1018         <delete>
  1022             <fileset file="${tmp.manifest.file}"/>
  1019             <fileset file="${tmp.manifest.file}"/>
  1023         </delete>
  1020         </delete>
  1024     </target>
  1021     </target>
  1025     <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
  1022     <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
       
  1023     <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
  1026     <target name="-post-jar">
  1024     <target name="-post-jar">
  1027         <!-- Empty placeholder for easier customization. -->
  1025         <!-- Empty placeholder for easier customization. -->
  1028         <!-- You can override this target in the ../build.xml file. -->
  1026         <!-- You can override this target in the ../build.xml file. -->
  1029     </target>
  1027     </target>
  1030     <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
  1028     <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
       
  1029     <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
  1031     <!--
  1030     <!--
  1032                 =================
  1031                 =================
  1033                 EXECUTION SECTION
  1032                 EXECUTION SECTION
  1034                 =================
  1033                 =================
  1035             -->
  1034             -->
  1204                 <not>
  1203                 <not>
  1205                     <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  1204                     <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
  1206                 </not>
  1205                 </not>
  1207             </and>
  1206             </and>
  1208         </condition>
  1207         </condition>
  1209         <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}">
  1208         <condition else="" property="bug5101868workaround" value="*.java">
       
  1209             <matches pattern="1\.[56](\..*)?" string="${java.version}"/>
       
  1210         </condition>
       
  1211         <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${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}">
  1210             <classpath>
  1212             <classpath>
  1211                 <path path="${javac.classpath}"/>
  1213                 <path path="${javac.classpath}"/>
  1212             </classpath>
  1214             </classpath>
  1213             <fileset dir="${src.dir}" excludes="*.java,${excludes}" includes="${includes}">
  1215             <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  1214                 <filename name="**/*.java"/>
  1216                 <filename name="**/*.java"/>
  1215             </fileset>
  1217             </fileset>
  1216             <fileset dir="${src.data.dir}" excludes="*.java,${excludes}" includes="${includes}">
  1218             <fileset dir="${src.data.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
  1217                 <filename name="**/*.java"/>
  1219                 <filename name="**/*.java"/>
  1218             </fileset>
  1220             </fileset>
  1219             <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1221             <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
  1220                 <include name="**/*.java"/>
  1222                 <include name="**/*.java"/>
  1221                 <exclude name="*.java"/>
  1223                 <exclude name="*.java"/>
  1288             -->
  1290             -->
  1289     <target depends="init" if="have.tests" name="-pre-test-run">
  1291     <target depends="init" if="have.tests" name="-pre-test-run">
  1290         <mkdir dir="${build.test.results.dir}"/>
  1292         <mkdir dir="${build.test.results.dir}"/>
  1291     </target>
  1293     </target>
  1292     <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  1294     <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
  1293         <j2seproject3:test testincludes="**/*Test.java"/>
  1295         <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
  1294     </target>
  1296     </target>
  1295     <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  1297     <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
  1296         <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1298         <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
  1297     </target>
  1299     </target>
  1298     <target depends="init" if="have.tests" name="test-report"/>
  1300     <target depends="init" if="have.tests" name="test-report"/>