buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [3/3] buildr git commit: Added support for :open_in_browser boolean passed to ipr.add_gwt_configuration
Date Mon, 09 Oct 2017 07:38:32 GMT
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 <peter@realityforge.org>
Authored: Mon Oct 9 18:38:16 2017 +1100
Committer: Peter Donald <peter@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


Mime
View raw message