You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/07/08 04:40:49 UTC

[jira] Resolved: (BUILDR-203) Compiler guessing very inefficient

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

Antoine Toulme resolved BUILDR-203.
-----------------------------------

    Resolution: Fixed

Now using find instead of a glob.

19:39:13~/w/buildr>svn ci CHANGELOG lib/buildr/core/compile.rb -m "fix for BUILDR-203"
Sending        CHANGELOG
Sending        lib/buildr/core/compile.rb
Transmitting file data ..
Committed revision 961561.

> Compiler guessing very inefficient
> ----------------------------------
>
>                 Key: BUILDR-203
>                 URL: https://issues.apache.org/jira/browse/BUILDR-203
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.4.2
>
>
> Buildr::Compiler::Base#applies_to? uses Dir.glob to scan the source tree for files matching the compiler's extension. This effectively scans all the files under that directory. 
> Since guess_compiler is called for each defined project (in CompileTask#associate_with), files for all projects are scanned, not just for the project that is about to be built. 

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