|
@@ -952,7 +952,7 @@ |
|
|
Create the essential distribution that can run Apache Ant |
|
|
Create the essential distribution that can run Apache Ant |
|
|
=================================================================== |
|
|
=================================================================== |
|
|
--> |
|
|
--> |
|
|
<target name="dist-lite" depends="jars,test-jar" |
|
|
|
|
|
|
|
|
<target name="dist-lite" depends="jars,test-jar,-ant-dist-warn-jdk9+" |
|
|
description="--> creates a minimum distribution to run Apache Ant"> |
|
|
description="--> creates a minimum distribution to run Apache Ant"> |
|
|
|
|
|
|
|
|
<mkdir dir="${dist.dir}"/> |
|
|
<mkdir dir="${dist.dir}"/> |
|
@@ -2008,6 +2008,10 @@ ${antunit.reports} |
|
|
<echo>AntUnit tests must be run with ${bootstrap.dir} (or ${dist.dir}), not ${ant.home}. Try './build.sh antunit-tests' for example.</echo> |
|
|
<echo>AntUnit tests must be run with ${bootstrap.dir} (or ${dist.dir}), not ${ant.home}. Try './build.sh antunit-tests' for example.</echo> |
|
|
</target> |
|
|
</target> |
|
|
|
|
|
|
|
|
|
|
|
<target name="-ant-dist-warn-jdk9+" unless="jdk9+"> |
|
|
|
|
|
<echo>Java 9+ features won't be available in the distribution</echo> |
|
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
<target name="antunit-tests" depends="build,test-init,-antunit-warn-location" if="run.antunit" |
|
|
<target name="antunit-tests" depends="build,test-init,-antunit-warn-location" if="run.antunit" |
|
|
description="--> run the antunit tests"> |
|
|
description="--> run the antunit tests"> |
|
|
<condition property="antunit.includes" value="${antunit.testcase}" |
|
|
<condition property="antunit.includes" value="${antunit.testcase}" |
|
|