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

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Olivier Lamy created MCOMPILER-187:
--------------------------------------

             Summary: incremental stuff detect changes even if nothing has changed means too much compilation
                 Key: MCOMPILER-187
                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Olivier Lamy
            Priority: Critical




--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314048#comment-314048 ] 

Olivier Lamy commented on MCOMPILER-187:
----------------------------------------

first check only .class files.
Note file extensions to check are configurable (but default list contains only .class)
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Priority: Critical
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MCOMPILER-187.
----------------------------------

    Resolution: Fixed

fixed http://svn.apache.org/r1413925
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.1
>
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314046#comment-314046 ] 

Olivier Lamy commented on MCOMPILER-187:
----------------------------------------

IMHO we must check only .class for timestamp changes.
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Priority: Critical
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314045#comment-314045 ] 

Olivier Lamy commented on MCOMPILER-187:
----------------------------------------

more details.
If you have plugins generating files in ${project.build.outputDirectory} incremental stuff will detect a change and trigger a compilation.
See remote-resources-plugin which generate some files ( target/classes/META-INF/LICENSE or target/classes/META-INF/NOTICE) even if nothing has changed.
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Priority: Critical
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MCOMPILER-187.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1
         Assignee: Olivier Lamy

fixed http://svn.apache.org/r1411914
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.1
>
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314047#comment-314047 ] 

Daniel Kulp commented on MCOMPILER-187:
---------------------------------------

Agree with the .class only checks.
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Priority: Critical
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reopened MCOMPILER-187:
-----------------------------------



There is a problem with the way the metadata is recorded.   After a clean, it will do a full compile once, but record the files as "created".   The second compile will look for the inputFiles.lst which isn't there yet.  Not finding it, it will again recompile everything.  After that, it works fine.   So two full recompiles after a clean.
                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.1
>
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314394#comment-314394 ] 

Daniel Kulp commented on MCOMPILER-187:
---------------------------------------

I'm still seeing:

{code}
[INFO] --- maven-compiler-plugin:3.1-SNAPSHOT:compile (default-compile) @ cxf-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 519 source files to /Users/dkulp/working/cxf/api/target/classes
{code}

                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 3.1
>
>


--
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

        

[jira] (MCOMPILER-187) incremental stuff detect changes even if nothing has changed means too much compilation

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314039#comment-314039 ] 

Daniel Kulp commented on MCOMPILER-187:
---------------------------------------


This occurs with CXF.  If I update cxf/trunk/pom.xml with 3.0 version of plugin and go into api and run "mvn -Pfastinstall" a couple times, I always see the:

{code}
Changes detected - recompiling the module!
Compiling 518 source files
{code}

messages.   I was hoping to be able to run with -X to display debug information to see what changes it was detecting to maybe help figure out why, but that didn't yield anything useful at all.  It would be good to get some debug information spit out for this.

                
> incremental stuff detect changes even if nothing has changed means too much compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-187
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-187
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Olivier Lamy
>            Priority: Critical
>


--
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