hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Francke (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2128) ant tar build broken since switch to Ivy
Date Sat, 16 Jan 2010 04:49:54 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801095#action_12801095

Lars Francke commented on HBASE-2128:

My preferred way of doing this would be to keep only the extra dependencies for the contribs
in their own folders.

So all core dependencies in lib/core all extra dependencies for stargate in lib/stargate but
not the core dependencies. If I remember correctly this was the way it was done before. At
least almost. If one decides to use stargate all you need to do is to add one directory to
the classpath.

In all likelihood I'm missing something important here but I don't see why all jars would
have to be duplicated. For 0.21 we'll probably have three contribs with dependencies (I'm
not counting ec2): stargate, transactional and thrift. This would mean that all common jars
would be included four times in the final tar.

All dependencies in one folder doesn't seem right either.

But I'm still very new to this project so feel free to disregard all I've said :)

> ant tar build broken since switch to Ivy
> ----------------------------------------
>                 Key: HBASE-2128
>                 URL: https://issues.apache.org/jira/browse/HBASE-2128
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.21.0
>            Reporter: Lars Francke
>         Attachments: HBASE-2128.patch, HBASE-2128.patch, HBASE-2128.patch
> Running ant tar produces a very small tar file because all .jar dependencies are missing.
This happens since the switch to Ivy.
> Adding common.ivy.lib.dir to the build.xml fixes some of it but some things still don't
> {code:xml}
>     <mkdir dir="${dist.dir}/lib"/>
>     <copy todir="${dist.dir}/lib">
>       <fileset dir="${build.lib}" />
>       <fileset dir="${common.ivy.lib.dir}"/>
>     </copy>
> {code}
> The jars for the contrib apps still seem to be missing. At the moment this is only stargate
but the I've got the same problem for the new thrift contrib. I am afraid I don't know enough
about Ant or Ivy to be of any further assistance.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message