buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny O'Connor <danny.ocon...@propylon.com>
Subject Problem generating eclipse resources with missing source artifacts
Date Tue, 22 Sep 2009 11:12:51 GMT
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.

Mime
View raw message