lib/java/openjpa.rb in buildr-0.15.0 vs lib/java/openjpa.rb in buildr-0.16.0
- old
+ new
@@ -19,10 +19,11 @@
def self.enhance(options)
options[:verbose] ||= Rake.application.options.trace || false
fu_check_options options, *OPTIONS + [:output]
runtool options.merge(:class=>"org.apache.openjpa.enhance.PCEnhancer", :name=>"Enhancer",
- :args=>{ "-p"=>options[:properties], "-d"=>options[:output] })
+ :args=>{ "-p"=>options[:properties], "-d"=>options[:output] },
+ :classpath=>options[:classpath] + [options[:output]])
end
def self.mapping_tool(options)
options[:verbose] ||= Rake.application.options.trace || false
fu_check_options options, *OPTIONS + [:action, :sql]