buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: Native ant support in JRuby 1.5
Date Fri, 19 Feb 2010 21:18:36 GMT
On Fri, Feb 19, 2010 at 12:58 PM, Rhett Sutphin
<rhett@detailedbalance.net>wrote:

> It is interesting to see how their (presumably independent) design for
> rake/ant integration works.  It seems to be pretty similar to antwrap except
> that their treatment of nested elements uses an implicit target rather than
> an explicit one:
>
> # In JRuby 1.5+
> ant.path(:id => "project.class.path") do
>  pathelement :location => "classes"
> end
>
> # In Antwrap
> ant.path(:id => "project.class.path") do |a|
>  a.pathelement :location => "classes"
> end
>

Yes, quite similar.   It would be fairly easy to support both on the JRuby
runtime.

alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message