You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/08/09 18:17:00 UTC

[jira] [Commented] (RATIS-1667) Combine example folder and root folder

    [ https://issues.apache.org/jira/browse/RATIS-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17577572#comment-17577572 ] 

Tsz-wo Sze commented on RATIS-1667:
-----------------------------------

Could we have a common jar so that both example and shell can refer to it?

> Combine example folder and root folder
> --------------------------------------
>
>                 Key: RATIS-1667
>                 URL: https://issues.apache.org/jira/browse/RATIS-1667
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Lei Xie
>            Priority: Major
>
> However, the output file is much bigger
> {code:java}
> $ls -lh ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz 
> -rw-r--r--  1 szetszwo  staff    40M Aug  8 21:36 ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz {code}
> A reason is that there are two jars
> {code:java}
> $ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/examples/lib/
> total 42872
> -rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-examples-3.0.0-SNAPSHOT.jar
> $ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/ratis-shell/lib/shell/
> total 42296
> -rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-shell-3.0.0-SNAPSHOT-jar-with-dependencies.jar {code}
>  
> I believe their contents are mostly the same. Is there a way to combine them?
> [https://github.com/apache/ratis/pull/705]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)