class Java::Options

Public Instance Methods

java_args() click to toggle source

Deprecated: Use ENV instead.

# File lib/buildr/java/deprecated.rb, line 124
def java_args
  Buildr.application.deprecated "Use ENV['JAVA_OPTS'] instead"
  (ENV["JAVA_OPTS"] || ENV["JAVA_OPTIONS"]).to_s.split
end
java_args=(args) click to toggle source

Deprecated: Use ENV instead.

# File lib/buildr/java/deprecated.rb, line 130
def java_args=(args)
  Buildr.application.deprecated "Use ENV['JAVA_OPTS'] instead"
  ENV['JAVA_OPTS'] = Array(args).join(' ')
end