buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shane Witbeck <sh...@digitalsanctum.com>
Subject Re: Unable to figure out package(:war).include
Date Tue, 25 Aug 2009 20:55:01 GMT
Try something like

package(:war).include(Dir.glob(_(File.join('target', 'js-min'), '**')))

-Shane


On Tue, Aug 25, 2009 at 1:39 PM, Tejus Parikh <
tejus.parikh@premiereglobal.com> wrote:

> Hey all
>
> I'm attempting to include some extra directories into my war.  I have the
> following line in my project:
> package(:war).include('target/js-min/**')
>
> however, when i expand the created war, this directory does not exist.  Any
> suggestions on what i could be doing wrong? This directory does exist in the
> project's target.  Running "buildr --trace" shows that it never looks that
> the "target/js-min" directory.  I'm running buildr 1.3.4 on JRuby 1.3.1.
>
> Thanks!
> Tejus
>

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