lib/java/ant.rb in buildr-1.0.0 vs lib/java/ant.rb in buildr-1.1.0

- old
+ new

@@ -6,13 +6,11 @@ # Libraries used by #ant. REQUIRES = [ "ant:ant:jar:1.6.5", "ant:ant-launcher:jar:1.6.5", "xerces:xercesImpl:jar:2.6.2" ] # Make sure Ant and friends show on the classpath. Antwrap must only be loaded after RJB. - Java.rjb.onload do - Java.rjb.classpath += REQUIRES - Java.rjb.onload { require "antwrap" } - end + Java.rjb.classpath << REQUIRES + Java.rjb.onload { require "antwrap" } class << self # :call-seq: # declarative(name, options?) => AntProject