buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ittay Dror (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BUILDR-203) Compiler guessing very inefficient
Date Tue, 04 Nov 2008 17:42:44 GMT

    [ https://issues.apache.org/jira/browse/BUILDR-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645017#action_12645017
] 

Ittay Dror commented on BUILDR-203:
-----------------------------------

in windows redefiningh applies_to to check only for an existent of a specific directory (e.g.,
src/main/java/com) shaved apx. half the time (30 seconds). i have a lot of projects (~160),
only half of which are java

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


Mime
View raw message