You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2017/10/09 07:38:32 UTC

[3/3] buildr git commit: Added support for :open_in_browser boolean passed to ipr.add_gwt_configuration

Added support for :open_in_browser boolean passed to ipr.add_gwt_configuration


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

Branch: refs/heads/master
Commit: d80e0a95f5846cc915ba7777fa9c879891939616
Parents: 914744b
Author: Peter Donald <pe...@realityforge.org>
Authored: Mon Oct 9 18:38:16 2017 +1100
Committer: Peter Donald <pe...@realityforge.org>
Committed: Mon Oct 9 18:38:16 2017 +1100

----------------------------------------------------------------------
 CHANGELOG              | 1 +
 lib/buildr/ide/idea.rb | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/d80e0a95/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index ade33db..fcdfda3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@
          the package with the classifier rather than the package without a classifer. (i.e. the pom could
          be incorrectly defined as `mypackage-1.0.0-gwt.pom` rather than `mypackage-1.0.0.pom`).
 * Added: GWT Addon: Added support for `:js_exports` boolean to enable "JsInteropExports".
+* Added: IDEA Extension: Added support for `:open_in_browser` boolean passed to `ipr.add_gwt_configuration`
 * Added: BUILDR-732 - Support bnd version 2.1.0 or more. Submitted By Eric Bruneton.
 * Added: Support to compiling Kotlin
 * Fixed: Remove section on development builds in the Contributing section.

http://git-wip-us.apache.org/repos/asf/buildr/blob/d80e0a95/lib/buildr/ide/idea.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/ide/idea.rb b/lib/buildr/ide/idea.rb
index 7340a53..2898625 100644
--- a/lib/buildr/ide/idea.rb
+++ b/lib/buildr/ide/idea.rb
@@ -997,6 +997,8 @@ module Buildr #:nodoc:
           xml.option(:name => 'RUN_PAGE', :value => launch_page) if launch_page
           xml.option(:name => 'GWT_MODULE', :value => gwt_module) if gwt_module
 
+          # noinspection RubySimplifyBooleanInspection
+          xml.option(:name => 'OPEN_IN_BROWSER', :value => false) if options[:open_in_browser] == false
           xml.option(:name => 'START_JAVASCRIPT_DEBUGGER', :value => start_javascript_debugger)
           xml.option(:name => 'USE_SUPER_DEV_MODE', :value => super_dev)
           xml.option(:name => 'SHELL_PARAMETERS', :value => shell_parameters) if shell_parameters