On Fri, Feb 19, 2010 at 12:58 PM, Rhett Sutphin
<rh...@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

Reply via email to