lib/buildr/xmlbeans.rb in buildr-0.22.0 vs lib/buildr/xmlbeans.rb in buildr-1.0.0
- old
+ new
@@ -9,10 +9,10 @@
class << self
def compile(*args)
options = Hash === args.last ? args.pop : {}
options[:verbose] ||= Rake.application.options.trace || false
- fu_check_options options, :verbose, :noop, :javasource, :jar, :compile, :output, :xsb
+ rake_check_options options, :verbose, :noop, :javasource, :jar, :compile, :output, :xsb
puts "Running XMLBeans schema compiler" if verbose
Ant.executable("xmlbeans") do |ant|
ant.taskdef :name=>"xmlbeans", :classname=>"org.apache.xmlbeans.impl.tool.XMLBean",
:classpath=>requires.join(File::PATH_SEPARATOR)
ant.xmlbeans :srconly=>"true", :srcgendir=>options[:output].to_s, :classgendir=>options[:output].to_s,