[ 
https://issues.apache.org/jira/browse/HBASE-12272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated HBASE-12272:
---------------------------------
    Attachment: HBASE-12272-2014-10-16-v2.patch

This patch adds the code to generate the thrift java classes to the location 
where those files are currently stored.
All documentation I could find on this subject has been updated/extended to 
describe using this feature (i.e. Do this: mvn compile -Dcompile-thrift ).

The intended usage is to let the developer of a thrift change run this and let 
him/her commit the changed files.
If so desired it is easy to change this to run automatically on each build, but 
that will require all developers to have the correct thrift version installed.

NOTE: This patch does NOT contain the actually generated files. This patch has 
been put into HBASE-12279


> Generating Thrift code automatically
> ------------------------------------
>
>                 Key: HBASE-12272
>                 URL: https://issues.apache.org/jira/browse/HBASE-12272
>             Project: HBase
>          Issue Type: Improvement
>          Components: Thrift
>            Reporter: Niels Basjes
>         Attachments: HBASE-12272-2014-10-15-v1-PREVIEW.patch, 
> HBASE-12272-2014-10-16-v2.patch
>
>
> The generated thrift code is currently under source control.
> This should be generated automatically during the build.



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

Reply via email to