Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1746

Show
Ignore:
Timestamp:
10/28/06 21:18:19 (2 years ago)
Author:
nahi
Message:

'--type client' wrongly overwrote --classdef definition. closes #282.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bin/wsdl2ruby.rb

    r1741 r1746  
    9797          case arg 
    9898          when "server" 
    99             opt['classdef'] = nil 
    100             opt['mapping_registry'] = nil 
    101             opt['servant_skelton'] = nil 
    102             opt['standalone_server_stub'] = nil 
     99            opt['classdef'] ||= nil 
     100            opt['mapping_registry'] ||= nil 
     101            opt['servant_skelton'] ||= nil 
     102            opt['standalone_server_stub'] ||= nil 
    103103          when "client" 
    104             opt['classdef'] = nil 
    105             opt['mapping_registry'] = nil 
    106             opt['driver'] = nil 
    107             opt['client_skelton'] = nil 
     104            opt['classdef'] ||= nil 
     105            opt['mapping_registry'] ||= nil 
     106            opt['driver'] ||= nil 
     107            opt['client_skelton'] ||= nil 
    108108          else 
    109109            raise ArgumentError.new("Unknown type #{ arg }")