[ 
https://issues.apache.org/jira/browse/HCATALOG-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis Crawford updated HCATALOG-400:
-------------------------------------

    Attachment: HCATALOG-400_lib_dir_git_build_issue.diff

This diff was generated with "git diff --no-prefix apache/trunk > 
HCATALOG-400_lib_dir_git_build_issue.diff" so it should apply cleanly in the 
SVN repo.

The diff against trunk is also viewable at Github if that makes looking at it 
easier:

https://github.com/traviscrawford/hcatalog/compare/HCATALOG-400_lib_dir_git_build_issue
                
> 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
>         Attachments: HCATALOG-400_lib_dir_git_build_issue.diff
>
>
> 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