samples/conditionaluseofapi/build.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 30 Oct 2014 21:30:10 +0100
changeset 409 40cabcdcd2be
permissions -rw-r--r--
Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
     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>