Ant integration DSL issue #601

isaiah opened this Issue Mar 24, 2013 · 0 comments


None yet
1 participant

isaiah commented Mar 24, 2013

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 Apr 4, 2013

enebo added a commit that referenced this issue Apr 4, 2013

Merge pull request #604 from isaiah/gh-601
ant DSL should support parameter hash with symbol keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment