samples/conditionaluseofapi/build.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 03 Apr 2020 16:32:36 +0200
changeset 416 9ed8788a1a4e
permissions -rw-r--r--
Using HTTPS to download the libraries
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="conditionaluseofapi" default="default" basedir=".">
     3     <description>Builds, tests, and runs the project conditionaluseofapi.</description>
     4     
     5     <target name="test">
     6         <!-- simulates run on JDK 1.4 -->
     7         <antcall target="clean"/>
     8         <antcall target="run">
     9             <param name="excludes" value="**/*15.java"/>
    10         </antcall>
    11     </target>
    12 
    13     <target name="-pre-compile">
    14         <condition property="excludes" value="**/*15.java">
    15             <not>
    16             <available classname="java.lang.StringBuilder"/>
    17             </not>
    18         </condition>
    19         <property name="excludes" value=""/>
    20     </target>
    21 
    22     
    23     <import file="nbproject/build-impl.xml"/>
    24     
    25     
    26     
    27 </project>