Top Level Namespace
Defined Under Namespace
Modules: Buildr
Instance Method Summary collapse
-
#compile_with_ajc(*opts) ⇒ Object
call this to enable java ajc compiler.
Instance Method Details
#compile_with_ajc(*opts) ⇒ Object
call this to enable java ajc compiler
options
-
:aspectpath - array of matching lib names (e.g. ‘aspects’ matches ‘other-aspects-1.2.jar’)
-
:verbose - true if any value
-
:debug - true if any value
-
:source - fix to 1.6
-
:deprecation - true if any value
-
:warnings - true if any value
-
:debug - true if any value
108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/ajc.rb', line 108 def compile_with_ajc(*opts) compile.using :ajc test.compile.using :ajc hash_opts ||= opts.last if Hash === opts.last puts "++++ #{hash_opts.inspect}" compile.using hash_opts hash_opts[:test_apspectpath] = compile.target.to_s test.compile.using hash_opts end |