samples/conditionaluseofapi/build.xml
changeset 6 b577ee7fcf67
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/conditionaluseofapi/build.xml	Sat Jun 14 09:50:50 2008 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<project name="conditionaluseofapi" default="default" basedir=".">
     1.6 +    <description>Builds, tests, and runs the project conditionaluseofapi.</description>
     1.7 +    
     1.8 +    <target name="test">
     1.9 +        <!-- simulates run on JDK 1.4 -->
    1.10 +        <antcall target="clean"/>
    1.11 +        <antcall target="run">
    1.12 +            <param name="excludes" value="**/*15.java"/>
    1.13 +        </antcall>
    1.14 +    </target>
    1.15 +
    1.16 +    <target name="-pre-compile">
    1.17 +        <condition property="excludes" value="**/*15.java">
    1.18 +            <not>
    1.19 +            <available classname="java.lang.StringBuilder"/>
    1.20 +            </not>
    1.21 +        </condition>
    1.22 +        <property name="excludes" value=""/>
    1.23 +    </target>
    1.24 +
    1.25 +    
    1.26 +    <import file="nbproject/build-impl.xml"/>
    1.27 +    
    1.28 +    
    1.29 +    
    1.30 +</project>