Repository: buildr Updated Branches: refs/heads/master 6d474ca55 -> bc5c990e3
Add flag to allow non portable extensions in wsgen addon. Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/bc5c990e Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/bc5c990e Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/bc5c990e Branch: refs/heads/master Commit: bc5c990e3bed88584c7d59e06de499b701f34cb1 Parents: 6d474ca Author: Peter Donald <[email protected]> Authored: Thu May 8 13:49:09 2014 +1000 Committer: Peter Donald <[email protected]> Committed: Thu May 8 13:49:09 2014 +1000 ---------------------------------------------------------------------- CHANGELOG | 1 + addon/buildr/wsgen.rb | 4 ++++ 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/bc5c990e/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index 3fc3c52..3f4a4ce 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ 1.4.17 (Pending) +* Added: Add flag to allow non portable extensions in wsgen addon. * Fixed: Avoid nil dereference bug in GWT addon when running GWT in a project that has no source directory. http://git-wip-us.apache.org/repos/asf/buildr/blob/bc5c990e/addon/buildr/wsgen.rb ---------------------------------------------------------------------- diff --git a/addon/buildr/wsgen.rb b/addon/buildr/wsgen.rb index a68c76c..6c440a0 100644 --- a/addon/buildr/wsgen.rb +++ b/addon/buildr/wsgen.rb @@ -114,6 +114,7 @@ module Buildr # Service options include: # * :service_name -- The name of the service. # * :package -- The package in which to generate the code. + # * :extension -- Should we allow non-portable extensions. # # Method options include: # * :output_dir -- The target directory. @@ -153,6 +154,9 @@ module Buildr command << ws_dir command << "-p" command << pkg + if config[:extension] + command << "-extension" + end if wsdl_location command << "-wsdllocation" command << wsdl_location
