Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-400

HCatalog build fails from git checkout due to missing lib directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5, 0.4.1
    • None
    • None

    Description

      Recently HCatalog removed the Hive SVN external, switching to pulling Hive as a regular dependency. This had the additional benefit of letting developers work off the Github mirror.

      "ant clean package" fails from a git checkout with the following error:

      BUILD FAILED
      /Users/travis/src/hcatalog/build.xml:523: /Users/travis/src/hcatalog/lib does not exist.
      

      The directory does exist in SVN but its empty: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/lib/

      The directory does not exist in the github mirror: https://github.com/apache/hcatalog

      Since the lib directory is empty can we simply remove it, along with the following lines in the "package" target?

      -    <copy todir="${dist.dir}/share/${ant.project.name}/lib" includeEmptyDirs="false">
      -      <fileset dir="${lib.dir}"/>
      -   </copy>
      

      Attaching the build.xml patch, but I'm not sure how to submit a patch to "svn rm lib" so that would need to happen at commit time.

      Attachments

        Activity

          People

            traviscrawford Travis Crawford
            traviscrawford Travis Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: