Class: Java::Options
Instance Method Summary collapse
-
#java_args ⇒ Object
Deprecated: Use ENV instead.
-
#java_args=(args) ⇒ Object
Deprecated: Use ENV instead.
Instance Method Details
#java_args ⇒ Object
Deprecated: Use ENV instead.
128 129 130 131 |
# File 'lib/buildr/java/deprecated.rb', line 128 def java_args Buildr.application.deprecated "Use ENV['JAVA_OPTS'] instead" (ENV["JAVA_OPTS"] || ENV["JAVA_OPTIONS"]).to_s.split end |
#java_args=(args) ⇒ Object
Deprecated: Use ENV instead.
134 135 136 137 |
# File 'lib/buildr/java/deprecated.rb', line 134 def java_args=(args) Buildr.application.deprecated "Use ENV['JAVA_OPTS'] instead" ENV['JAVA_OPTS'] = Array(args).join(' ') end |