Skip to content


Ant integration DSL issue #601

isaiah opened this Issue · 0 comments

1 participant


Rake task definition like this:

task :compile => "pkg/classes" do |t|
  ant.javac :srcdir => "java", :destdir => t.prerequisites.first,
    :source => "1.7", :target => "1.7", :debug => true

aborts with the following exception:

no method 'setAttribute' for arguments (org.jruby.RubySymbol,org.jruby.RubyString) on Java::OrgApacheToolsAnt::RuntimeConfigurable
  available overloads:

This is because when the parameters are passed to ant, the key is passed as it is, which should be converted to String instead.

@enebo enebo closed this in 80a67f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.