[Rubycocoa-devel 828] 1653 can't work

Back to archive index

Fujimoto Hisa hisa****@fobj*****
Fri Mar 16 09:06:17 JST 2007


Hi Laurent

the revision 1653 make error on config phase.
Is the following patch is good to fix it?
--
hisa

Index: gen_bridge_metadata.rb
===================================================================
--- gen_bridge_metadata.rb	(revision 1655)
+++ gen_bridge_metadata.rb	(working copy)
@@ -1006,7 +1006,8 @@
      exception_document.elements.each('/signatures/class') do | 
class_element|
        class_name = class_element.attributes['name']
        if @ocmethods[class_name].nil?
-        raise "Class '#{class_name}' is described in an exception  
file but it has not been discovered by the final generator"
+        warn "Class '#{class_name}' is described in an exception  
file but it has not been discovered by the final generator"
+        next
        end
        # First replace the type attributes by the real encoding.
        class_element.elements.each('method') do |element|




More information about the Rubycocoa-devel mailing list
Back to archive index