You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Pepijn Van Eeckhoudt (JIRA)" <ji...@apache.org> on 2014/08/25 11:01:10 UTC
[jira] [Commented] (BUILDR-688) Compile task should ignore
package-info.java when performing uptodate checks
[ https://issues.apache.org/jira/browse/BUILDR-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108908#comment-14108908 ]
Pepijn Van Eeckhoudt commented on BUILDR-688:
---------------------------------------------
Has any work been done on this yet? I was looking at how this could be implemented easily. The required fix is java specific so I think this should go in build/java/compiler.rb. The only existing method that could be hooked into easily that I could find is Buildr::Compiler::Base#compile_map. I was thinking of overriding this in Buildr::Compiler::Javac by calling super and then filtering out package-info.java files. IMO just filtering out that specific type of file is a sufficient fix. Contrary to what's suggested in the linked issue, I don't think it needs to be more complicated than that.
Does this sound like a good way forward or are there other approaches that have been thought out already?
> Compile task should ignore package-info.java when performing uptodate checks
> ----------------------------------------------------------------------------
>
> Key: BUILDR-688
> URL: https://issues.apache.org/jira/browse/BUILDR-688
> Project: Buildr
> Issue Type: Bug
> Components: Compilers
> Reporter: Peter Donald
> Assignee: Peter Donald
> Priority: Minor
> Fix For: 1.4.19
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)