Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 40083 invoked from network); 5 Dec 2003 17:43:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Dec 2003 17:43:01 -0000 Received: (qmail 72625 invoked by uid 500); 5 Dec 2003 17:42:44 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72608 invoked by uid 500); 5 Dec 2003 17:42:44 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72588 invoked from network); 5 Dec 2003 17:42:44 -0000 Received: from unknown (HELO rekin4.o2.pl) (212.126.20.8) by daedalus.apache.org with SMTP; 5 Dec 2003 17:42:44 -0000 Received: from poczta.o2.pl (rekin4.o2.pl [127.0.0.1]) by rekin4.o2.pl (o2.pl Mailer 2.0.1) with ESMTP id 687EE11544C for ; Fri, 5 Dec 2003 18:42:46 +0100 (CET) From: =?iso-8859-2?Q?Jan_Wielgus?= To: users@cocoon.apache.org Subject: =?iso-8859-2?Q?DirectoryGenerator_problem_(was:_Re:_Listing_files?= =?iso-8859-2?Q?_from_a_directory)?= Date: Fri, 5 Dec 2003 18:42:46 +0100 Content-Type: text/plain; charset="iso-8859-2"; Content-Transfer-Encoding: 8bit X-Mailer: o2.pl WebMail v5.02 X-Originator: 80.54.244.70 In-Reply-To: <3FCFFEA4.9000006@leverageweb.com> References: <20031204184840.9A57511544E@rekin4.o2.pl> <3FCFFEA4.9000006@leverageweb.com> Message-Id: <20031205174246.687EE11544C@rekin4.o2.pl> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >You wouldn't want an Action to do that - but a Generator, and there are >several included by default. Look in the user docs under Generators - >you'll find at least DirectoryGenerator and ImageDirectoryGenerator >there. I think there are others with more sophisticated options which >may be not as well documented. Thank you for the tip. I use now the ImageDirectoryGenerator but I have one problem with it. If I add a file to a directory given as a parameter and then refresh the site, the xml generated doesn't show the new file. But whenever I delete anything from this directory, the changes are showed at once. When I copy new files to the directory, the changes are showed only after I have restarted the servlet engine (in my case Jetty, I am using Coccon 2.1.2). What can cause this strange behaviour? I have tried to set the "refreshDelay"-parameters for some different values, but the xml generated by the ImageDirectoryGenerator never changes until I restart the servlet engine... Jan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org