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

Hao Chen commented on KYLIN-1355:
---------------------------------

h2. Changes
* Add build/script/package_libs.sh  to build library jars only tar-ball named 
"apache-kylin-${version}-lib.tar.gz"
* Fix version parsing bug in build/script/package.sh

h2. Usage
{code}
$ ./build/script/package_libs.sh
hecking maven...
maven check passed
Checking git...
git check passed
kylin version: 2.1-SNAPSHOT
package libraries
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
...
copy libraries
package tar.gz
a apache-kylin-2.1-SNAPSHOT-lib
a apache-kylin-2.1-SNAPSHOT-lib/lib
a apache-kylin-2.1-SNAPSHOT-lib/lib/kylin-coprocessor-2.1-SNAPSHOT.jar
a apache-kylin-2.1-SNAPSHOT-lib/lib/kylin-jdbc-2.1-SNAPSHOT.jar
a apache-kylin-2.1-SNAPSHOT-lib/lib/kylin-job-2.1-SNAPSHOT.jar
Library package ready: dist/apache-kylin-2.1-SNAPSHOT-lib.tar.gz
{code}


> Add script to build a java-hotfix package, instead of a full package
> --------------------------------------------------------------------
>
>                 Key: KYLIN-1355
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1355
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Environment 
>    Affects Versions: 2.1
>            Reporter: Shaofeng SHI
>            Assignee: Hao Chen
>              Labels: newbie
>
> Sometimes we need deploy only java code change, but he ./scripts/package.sh 
> will make a full binary package which cost extra time on building the web 
> resources. It would be more efficient if we have a way to package only jar 
> files into a tar ball. Then in the server side, we only replace the jars to 
> take effective.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to