lib/java/compile.rb in buildr-1.2.3 vs lib/java/compile.rb in buildr-1.2.4
- old
+ new
@@ -109,10 +109,10 @@
end
def initialize(*args) #:nodoc:
super
- parent = Rake::Task["^compile"] if name[":"] # Only if in namespace
+ parent = Project.task_in_parent_project(name)
if parent && parent.respond_to?(:options)
@options = Options.new(parent.options)
else
@options = Options.new
end