Danny, Do you have an example buildfile to reproduce? I'd like to write a test case while fixing this issue.
alex On Tue, Sep 22, 2009 at 4:12 AM, Danny O'Connor <[email protected]>wrote: > Hi There, > > When trying to generate eclipse .classpath and .project files using > buildr-1.3.4 I ran into this error: > > undefined method `sources_artifact' for #<Rake::FileTask:0x17be3bb2> > > I monkey patched this myself v.quickly in eclipse.rb around line 187 by > adding: > > if lib_artifact.respond_to?(:sources_artifact) then > source_path = lib_artifact.sources_artifact.to_s > else > source_path="" > end > > I don't really get where the error is coming from though, and so I'm sure > there is a more obvious fix ? > > Thanks, > Danny. >
