buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Hugo Borja" <vic.bo...@gmail.com>
Subject Re: *.rake files not being picked up in 1.3.0?
Date Thu, 15 May 2008 18:26:55 GMT
Hi Shane,

Actually the problem was that task/*.rake files were being loaded after
executing the top_level tasks.
I've fixed this on trunk.
See application.rb lines 177-179

On Thu, May 15, 2008 at 1:22 PM, Shane Witbeck <shane@digitalsanctum.com>
wrote:

> I think I may have found the culprit... in application.rb line 221
>
> installed.each do |spec|
>        if gem(spec.name, spec.version.to_s)
>        #  FileList[spec.require_paths.map { |path|
> File.expand_path("#{path}/*.rb", spec.full_gem_path) }].
>        #    map { |path| File.basename(path) }.each { |file| require file }
>        #  FileList[File.expand_path('tasks/*.rake',
> spec.full_gem_path)].each do |file|
>        #    Buildr.application.add_import file
>        #  end
>        end
>      end
>
> Was this an intentional change?
>
>
> On Thu, May 15, 2008 at 2:12 PM, Shane Witbeck <shane@digitalsanctum.com>
> wrote:
> > I'm posting to the dev list as well since I haven't got an answer on
> > this yet. Still trying to figure out why *.rake files are being picked
> > up from root/tasks dir?
> >
> > Is this a rake convention or a buildr convention?
> >
> > Thanks,
> > Shane
> >
> >
> > ---------- Forwarded message ----------
> > From: Shane Witbeck <shane@digitalsanctum.com>
> > Date: Wed, May 14, 2008 at 4:20 PM
> > Subject: *.rake files not being picked up in 1.3.0?
> > To: buildr-user@incubator.apache.org
> >
> >
> > Since upgrading to 1.3.0, the buildfile doesn't seem to be picking up
> > all my *.rake files in root/tasks directory.
> >
> > Is this a known change that I missed? Do you now have to explicitly
> > include rake files?
> >
> > --
> > -Shane
> >
> >
> >
> > --
> > -Shane
> >
>
>
>
> --
> -Shane
>



-- 
vic

Quaerendo invenietis.

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