[
https://issues.apache.org/jira/browse/HBASE-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801101#action_12801101
]
Kay Kay commented on HBASE-2128:
--------------------------------
{quote}
My preferred way of doing this would be to keep only the extra dependencies for
the contribs in their own folders.
{quote}
That would be the ideal thing I guess. That would mean - revisiting build.xml /
build-contrib.xml to reuse the files, to create only the 'diff' dependencies.
Given that 'tar' is broken - I am trying to look for something quick and
immediate.
{quote}
In all likelihood I'm missing something important here but I don't see why all
jars would have to be duplicated
{quote}
Agree - that was just meant to have contrib-s as separated namespace. If the
previous issue were resolved - then having core and contribs separate would be
ideal.
{quote}
All dependencies in one folder doesn't seem right either.
{quote}
Yup. that was my main concern.
So - did you look at the most recent patch ( all in one lib/*.jar) minimally
intrusive to the scripts - but need to be revisited in the long term though.
> 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 work:
> {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.