buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: Problem generating eclipse resources with missing source artifacts
Date Tue, 22 Sep 2009 21:10:35 GMT
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
<danny.oconnor@propylon.com>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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message