Changeset 6192

Show
Ignore:
Timestamp:
12/01/06 14:00:12
Author:
jan
Message:

windows compat prob

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jerbil/hibernate_task.rb

    r6174 r6192  
    7575          schema << "# generated by Jerbil::Hibernate::ExportSchemaTask at #{Time.new}\n\n" 
    7676           
    77           schema << preamble if preamble 
     77          schema << preamble << "\n" if preamble 
    7878           
    7979          sql.each do |s| 
  • trunk/lib/jerbil/java_helper.rb

    r6140 r6192  
    401401      @java_files.each{ |f| f.gsub!( replace, replace_with ) } 
    402402    end 
     403     
     404    def map!(&block) 
     405      @java_files.each { |f| f.map!{ |g| block.call(g) } } 
     406    end 
    403407  end 
    404408end 
  • trunk/lib/jerbil/javac_task.rb

    r6138 r6192  
    6060          # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6198196         
    6161          if Jerbil::IS_WINDOWS 
    62             files.map! {|fn| fn.sub("/", "\\")} 
     62            files.map! {|fn| fn.gsub("/", "\\")} 
    6363          end 
    6464