Skip to content
Permalink
Browse files
Revert "[build] removed obsolete monkey patches"
This reverts commit 30dad24.
  • Loading branch information
mkristian committed Dec 19, 2014
1 parent d50d7ac commit 0a3ba73e6f9bb8700dbf33eb03dc3bb2a7284211
Showing with 17 additions and 0 deletions.
  1. +17 −0 lib/pom.rb
@@ -34,6 +34,23 @@ def version

project 'JRuby Lib Setup' do

# TODO move those to method to ruby-maven
class ::Java::JavaIo::File
def to_pathname
to_s.gsub( /\\/, '/' )
end
end
class ::Java::JavaLang::String
def to_pathname
to_s.gsub( /\\/, '/' )
end
end
class ::String
def to_pathname
self.gsub( /\\/, '/' )
end
end

version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip

model_version '4.0.0'

0 comments on commit 0a3ba73

Please sign in to comment.