hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hrishikesh (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2537) make build process compatible with Ant 1.7.0
Date Wed, 09 Jan 2008 12:51:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557255#action_12557255
] 

Hrishikesh commented on HADOOP-2537:
------------------------------------

Here is another patch

Create a temp file in the temp directory (and this value is a JVM system property)
Touch the temp file along with other files
Delete the temp file
Attached file 2537.patch1

> 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
>
>         Attachments: 2537.patch, 2537.patch1
>
>
> 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.


Mime
View raw message