make build process compatible with Ant 1.7.0
--------------------------------------------
Key: HADOOP-2537
URL: https://issues.apache.org/jira/browse/HADOOP-2537
Project: Hadoop
Issue Type: Bug
Components: build
Affects Versions: 0.14.4
Reporter: Nigel Daley
Fix For: 0.16.0
This section of build.xml behaves differently between Ant 1.6.5 and Ant 1.7.0:
{code:xml}
<touch datetime="01/25/1971 2:00 pm">
<fileset dir="${conf.dir}" includes="**/*.template"/>
<fileset dir="${contrib.dir}" includes="**/*.template"/>
</touch>
{code}
In Ant 1.6.5, if the fileset is empty (which it is if you're building from a
released tar.gz distribution) then this section silently passes.
In Ant 1.7.0, if the fileset is empty, the following error is raised and the
build stops:
{quote}
BUILD FAILED
/home/ndaley/Downloads/hadoop-0.15.1/build.xml:151: Specify at least one
source--a file or resource collection.
{quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.