hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12382) Restore incremental compilation
Date Wed, 12 Nov 2014 00:38:35 GMT

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

Andrew Purtell updated HBASE-12382:
    Attachment: HBASE-12382.patch

Attached patch applies the paradoxical compiler plugin setting. No more "Changes detected!
Recompiling the module" messages. First time through hbase-common 134 files are compiled,
second time only 2. First time through hbase-protocol 31 source files are compiled, second
time through "Nothing to compile - all classes are up to date", etc. 

> Restore incremental compilation
> -------------------------------
>                 Key: HBASE-12382
>                 URL: https://issues.apache.org/jira/browse/HBASE-12382
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 2.0.0
>         Attachments: HBASE-12382.patch
> The build changes in HBASE-11912 required an upgrade of the Maven compiler plugin from
2.5.1 to something >= 3.0. We're now using 3.2. We also switch from whatever Maven does
by default with an embedding of tools.jar to invocation of javac. We are no longer getting
incremental builds due to Maven bugs hit by these changes. http://jira.codehaus.org/browse/MCOMPILER-209
suggests paradoxically setting useIncrementalCompilation to 'false' will restore incremental
compilation behavior. 

This message was sent by Atlassian JIRA

View raw message