buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [2/2] buildr git commit: Make sure test resources are correctly identified
Date Tue, 22 Sep 2015 02:23:08 GMT
Make sure test resources are correctly identified


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/4ceca8b8
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/4ceca8b8
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/4ceca8b8

Branch: refs/heads/master
Commit: 4ceca8b8ef79b5e7997439cbefb1ca05074bb6c0
Parents: 7fcf25f
Author: Peter Donald <peter@realityforge.org>
Authored: Tue Sep 22 12:23:01 2015 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Tue Sep 22 12:23:01 2015 +1000

----------------------------------------------------------------------
 lib/buildr/ide/idea.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/4ceca8b8/lib/buildr/ide/idea.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/ide/idea.rb b/lib/buildr/ide/idea.rb
index 671eea4..e827396 100644
--- a/lib/buildr/ide/idea.rb
+++ b/lib/buildr/ide/idea.rb
@@ -616,7 +616,7 @@ module Buildr #:nodoc:
               options[:url] = file_path(dir)
               options[:isTestSource] = (content[:test] ? 'true' : 'false') if content[:type]
!= 'resource'
               options[:type] = 'java-resource' if content[:type] == 'resource' &&
!content[:test]
-              options[:type] = 'java-test-resource' if content[:type] == 'resource' &&
!content[:test]
+              options[:type] = 'java-test-resource' if content[:type] == 'resource' &&
content[:test]
               options[:generated] = 'true' if content[:generated]
               xml.sourceFolder options
             end


Mime
View raw message