Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2537

make build process compatible with Ant 1.7.0

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.4
    • 0.16.0
    • build
    • None

    Description

      This section of build.xml behaves differently between Ant 1.6.5 and Ant 1.7.0:

          <touch datetime="01/25/1971 2:00 pm">
            <fileset dir="${conf.dir}" includes="**/*.template"/>
            <fileset dir="${contrib.dir}" includes="**/*.template"/>
          </touch>
      

      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:

      BUILD FAILED
      /home/ndaley/Downloads/hadoop-0.15.1/build.xml:151: Specify at least one source--a file or resource collection.

      Attachments

        1. 2537.patch
          0.4 kB
          Hrishikesh
        2. 2537.patch1
          0.7 kB
          Hrishikesh

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hrishikesh Hrishikesh
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment