Travis Crawford created HCATALOG-400:
----------------------------------------

             Summary: HCatalog build fails from git checkout due to missing lib 
directory
                 Key: HCATALOG-400
                 URL: https://issues.apache.org/jira/browse/HCATALOG-400
             Project: HCatalog
          Issue Type: Bug
            Reporter: Travis Crawford
            Assignee: Travis Crawford


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:

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

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?

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

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to