[ https://issues.apache.org/jira/browse/S2GRAPH-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308968#comment-15308968 ]
Jong Wook Kim commented on S2GRAPH-73: -------------------------------------- The work is being pushed to [jongwook/S2GRAPH-70|https://github.com/jongwook/incubator-s2graph/commits/feature/S2GRAPH-70] along with the other subtasks of S2GRAPH-70. Any reviews or comments would be appreciated. > Add an SBT task and relevant scripts to construct a package for distribution > ---------------------------------------------------------------------------- > > Key: S2GRAPH-73 > URL: https://issues.apache.org/jira/browse/S2GRAPH-73 > Project: S2Graph > Issue Type: Sub-task > Reporter: Jong Wook Kim > Original Estimate: 168h > Remaining Estimate: 168h > > This subtask is to add a function to make a package for distribution, which > has a directory layout like usual unix-based projects: > {code} > / > ┣ bin/ # executable bash scripts to start/stop daemon processes > ┣ conf/ # templates of configuration files > ┣ lib/ # all jar files to be included in the classpath > └ logs/ # an empty directory, where logs will be saved > {code} > When an official release is made, this directory will be compressed into a > {{tar.gz}} file which the users will download from the website. > Currently this is being done using the {{stage}} task that is a part of Play! > framework, but the startup script provided by it is functionally very limited > and not easy to tweak. > We would like to add the flexibility to add various bash scripts and make it > easy for users to run and configure s2graph, and check the logs. > Specifically, an SBT task will be made that resembles what Play! framework's > one does, and also will a few bash scripts that call the SBT task will be > made as necessary. > In order for this to happen, I suggest to make changes to a few top-level > directories as follows: > * move the old {{/bin}} to {{/dev}} which contains scripts used during > development; there is only one bash script for release auditing now, and more > bash scripts should be added here. > * make a new {{/bin}} which contains the bash scripts that go to the > distribution package, and thus the users will use. > * make a new {{/conf}} which contains the templates for configurations, like > {{hbase-site.xml}}, {{application.conf.template}}, {{logback.xml.template}}, > etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)