You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/10/27 22:05:44 UTC

[jira] Commented: (BUILDR-190) make it easy to exclude java source files from compilation

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

Assaf Arkin commented on BUILDR-190:
------------------------------------

compile.sources is a FileList so you can do:

  compile.sources.exclude '**/*'

> make it easy to exclude java source files from compilation
> ----------------------------------------------------------
>
>                 Key: BUILDR-190
>                 URL: https://issues.apache.org/jira/browse/BUILDR-190
>             Project: Buildr
>          Issue Type: Wish
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> I have cases where there are source files that should not be compiled (and yet it is desired to keep them in scm). 
> i can use FileList inside the project definition (assign to compile.sources), but then it means the files are scanned during the definition phase (where afterwards this project's build may not be invoked)
> it would be nice if compile.sources could be a proc (or contain proc) that is evaluated only before compilation

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