Avoid bug in gwt 2.8.0 that does not recognize OBFUSCATED style but that is the 
default so omit it if it matches that value


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

Branch: refs/heads/master
Commit: b362aade8ca73382f4bbaf85d2551b2f3b0ed052
Parents: 66ec0fb
Author: Peter Donald <[email protected]>
Authored: Wed Feb 22 09:26:27 2017 +1100
Committer: Peter Donald <[email protected]>
Committed: Wed Feb 22 09:26:27 2017 +1100

----------------------------------------------------------------------
 addon/buildr/gwt.rb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/b362aade/addon/buildr/gwt.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/gwt.rb b/addon/buildr/gwt.rb
index dcf975c..7f44de2 100644
--- a/addon/buildr/gwt.rb
+++ b/addon/buildr/gwt.rb
@@ -54,8 +54,10 @@ module Buildr
           args << log_level
         end
         args << '-strict'
-        args << '-style'
-        args << style
+        unless style == 'OBFUSCATED'
+          args << '-style'
+          args << style
+        end
         args << '-localWorkers'
         args << workers
         args << '-war'

Reply via email to