You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Glick (JIRA)" <ji...@codehaus.org> on 2012/09/04 18:56:22 UTC

[jira] (MCOMPILER-21) compiler smarts

    [ https://jira.codehaus.org/browse/MCOMPILER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307721#comment-307721 ] 

Jesse Glick commented on MCOMPILER-21:
--------------------------------------

Note that Ant's {{<depend>}} does a reasonably good job of figuring out which dependent classes need to be recompiled. Can still be fooled by compile-time constants (at least until JDK 8 javac which addresses this), and things get more complicated when JSR 269 is used to generate classes and/or resources.
                
> compiler smarts
> ---------------
>
>                 Key: MCOMPILER-21
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-21
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>            Reporter: Brett Porter
>            Assignee: Mark Struberg
>             Fix For: backlog
>
>         Attachments: MCOMPILER-21.patch, MCOMPILER-21-v2.patch
>
>
> there are probably other ways we can make the compiler stale check smarter. List them out here if you think of them.
> 1) if a snapshot was resolved to a newer version, rebuild everything.

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