[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759649#action_12759649
 ] 

Konstantin Boudnik commented on MAPREDUCE-1038:
-----------------------------------------------

This is the way {{iajc}} compiler works: fresh recompilation on every occasion. 
There's the reason why clean compile makes a lot of sense: aspects might affect 
unupdated java classes and the other way around. You can 'fix' it by using 
incremental compiler for development purposes and it will be much faster. In 
ant script you can ride on {{<uptodate>}} task

For more information check 
[antTasks-iajc-uptodate|http://www.eclipse.org/aspectj/doc/next/devguide/antTasks-iajc.html#antTasks-iajc-uptodate]

> Mumak's compile-aspects target weaves aspects even though there are no 
> changes to the Mumak's sources
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1038
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1038
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.21.0
>            Reporter: Vinod K V
>             Fix For: 0.21.0
>
>
> This is particularly time consuming and is the bottle neck even for a simple 
> ant build. In the case where no files have been updated in Mumak, there is no 
> reason to recompile sources along with the aspects. compile-aspects should 
> skip this step in these cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to