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

Ravi Prakash commented on HADOOP-7985:
--------------------------------------

In hadoop-common-project/hadoop-common:
 * Touchz.java should be renamed to Touch.java to avoid compilation everytime.
 * Record IO generated test files which were compiled everytime. We could 
modify RccTask.java to doCompile only when sourceFile is newer than the 
destination file
These are just 2 seconds of the 24 seconds needed to build hadoop-common. So 
obviously not substantial. Will keep looking. 

I'm beginning to think running from JARs might not be the best idea to have a 
quick dev cycle. Maybe I should try running from the target/classes directories 
and skip building the jar altogether.
                
> maven build should be super fast when there are no changes
> ----------------------------------------------------------
>
>                 Key: HADOOP-7985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7985
>             Project: Hadoop Common
>          Issue Type: Wish
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>              Labels: build, maven
>
> I use this command "mvn -Pdist -P-cbuild -Dmaven.javadoc.skip -DskipTests 
> install" to build. Without ANY changes in code, running this command takes 
> 1:32. It seems to me this is too long. Investigate if this time can be 
> reduced drastically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to