Good catch Howard. I just realized that since we store the cake
directory in a non-standard location in our application, I had gotten
my wires crossed when setting up those paths. I've just updated the
package with the fix and a few others I found this morning.

If you store cake in a non-standard location like I do (we keep it in
ROOT/app/), the recommended solution is to pass the full path to your
javascript and CSS folders like so:

./cake asset_packager -js /path/to/webroot/js -css /path/to/webroot/
css

Thanks!
Brad

On Jul 30, 4:34 pm, "Howard Glynn" <[EMAIL PROTECTED]> wrote:
> Brad
>
> I've got this up and running, it appears to work well and does what it say!!
>
> However on the current download linked from the bakery, i think there is a
> superfluous 'app' string.
> In vendors/shells/asset_packager, lines 49 and 54 you construct the path as
> APP . 'app' and when
> I use the cake console I get error messages (doubled up app dir in paths).
> Remove the 'app' string in both cases and it works perfectly. I presume APP
> provides this subdir for you.
>
> HTH,
> Howard
>
> On 7/30/07, Brad Daily <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Looks like the Bakery article is live:
>
> >http://bakery.cakephp.org/articles/view/assetpackager-for-cakephp
>
> > Brad
>
> > -----------------------------------------------
>
> > Brad Daily
> > Developer, SlideShowPro Director
> > [EMAIL PROTECTED]
>
> > On Jul 30, 2:52 am, Brad Daily <[EMAIL PROTECTED]> wrote:
> > > On Jul 30, 12:53 am, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> > > > Indeed.  I've put some comments on your blog, but perhaps you should
> > > > consider a Bakery article for this?
>
> > > Grant - Already done, just waiting approval from the head chefs :)
> > > Also, I responded to your comment on my blog...
>
> > > Brad
>
> > > -----------------------------------------------
>
> > > Brad Daily
> > > Developer, SlideShowPro Director
> > > [EMAIL PROTECTED]
>
> --
> --
> Howard Glynn  -  Edinburgh, UK
> [EMAIL PROTECTED]   -  email, google talk, facebook


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to