Re: Learning and using aap in website project

Fredrik <aap-rLZlch/[email protected]> Thu, 8 Jul 2004 23:26:35 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On [040701 12:15] Bram Moolenaar <[email protected]> wrote:

[...]

> It looks like it gets too complicated to do this with a rule.  Let's
> switch to explicit dependencies.  This has the advantage that the file
> names are fixed (relative to the recipe in which the dependency is
> defined).

[...]

Thank you it works, Yay!

One last question (I hope :)). Now I want to upload a directory of images
called "img" recursive when publishing the site. I have read in the
archives[1] but the :tree thingy dosen't work as I expect. When experimenting
with :tree only the files in the "img" directory is published not the actual
"img" directory with files and subdirs.

WEB_FILES = 
  $HTML_FILES
  img

:attr {publish = ...} $WEB_FILES

dosent work and gives a message about:

Aap: Error in recipe: Copying a directory requires -r flag

How do I set a recursive attribute on "img" (if that is the right way to do
it) or if someone got any pointer to examples etc?

Thank you in advance.

[1] http://article.gmane.org/gmane.comp.tools.aap.user/263

.Fredrik
(who is lurking in #aap and no one is online when I am ;) )


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com