Sha256: d3d318978365b9284c9217537e4b7a60f46ef58886760b71cf61e54dd4dd5d5b

Contents?: true

Size: 544 Bytes

Versions: 18

Compression:

Stored size: 544 Bytes

Contents

module RGen
module Util

  class FileCacheMap
    alias_method :orig_store_data, :store_data
    def store_data(key_path, value_data)
      begin
        orig_store_data(key_path, value_data)
      rescue Exception=>e
        if Bake.options.verbose >= 3
          cf = cache_file(key_path)
          Bake.formatter.printWarning("Warning: Could not write cache file #{cf}")
          if Bake.options.debug
            puts e.message
            puts e.backtrace
          end
        end
      end
    end
  end

end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bake-toolkit-2.72.0 lib/common/ext/rgen.rb
bake-toolkit-2.71.0 lib/common/ext/rgen.rb
bake-toolkit-2.70.1 lib/common/ext/rgen.rb
bake-toolkit-2.70.0 lib/common/ext/rgen.rb
bake-toolkit-2.69.0 lib/common/ext/rgen.rb
bake-toolkit-2.68.1 lib/common/ext/rgen.rb
bake-toolkit-2.68.0 lib/common/ext/rgen.rb
bake-toolkit-2.67.0 lib/common/ext/rgen.rb
bake-toolkit-2.66.0 lib/common/ext/rgen.rb
bake-toolkit-2.65.2 lib/common/ext/rgen.rb
bake-toolkit-2.65.1 lib/common/ext/rgen.rb
bake-toolkit-2.65.0 lib/common/ext/rgen.rb
bake-toolkit-2.64.4 lib/common/ext/rgen.rb
bake-toolkit-2.64.3 lib/common/ext/rgen.rb
bake-toolkit-2.64.2 lib/common/ext/rgen.rb
bake-toolkit-2.64.1 lib/common/ext/rgen.rb
bake-toolkit-2.64.0 lib/common/ext/rgen.rb
bake-toolkit-2.63.2 lib/common/ext/rgen.rb