Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 84062 invoked from network); 9 May 2004 13:58:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 May 2004 13:58:07 -0000 Received: (qmail 22379 invoked by uid 500); 9 May 2004 13:57:55 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 22156 invoked by uid 500); 9 May 2004 13:57:54 -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 22143 invoked from network); 9 May 2004 13:57:54 -0000 Received: from unknown (HELO web90106.mail.scd.yahoo.com) (66.218.94.77) by daedalus.apache.org with SMTP; 9 May 2004 13:57:54 -0000 Message-ID: <20040509135629.87229.qmail@web90106.mail.scd.yahoo.com> Received: from [68.193.124.45] by web90106.mail.scd.yahoo.com via HTTP; Sun, 09 May 2004 06:56:28 PDT Date: Sun, 9 May 2004 06:56:28 -0700 (PDT) From: Alex Romayev Subject: RE: Help Pls Zip Archive Serializer To: users@cocoon.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Anand, I don't know much about zip generator, but you can only have one generator per pipeline. HTH, -Alex --- anand.vasudevan@wipro.com wrote: > > Yeah Jorg did suggest to use Directory generator. > But what should the > logic be. For eg: - the code in sitemap for getting > directory contents > list is > > > > > > src="stylesheets/dir2html.xsl"/> > > > > > > > And the xml file for zipping a file is > > xmlns:zip-archive="http://apache.org/cocoon/zip-archive/1.0"> > > src="C:\jboss-3.2.1\server\im\deploy\cocoon.war\mointest\a.txt"/> > > > > How do I combine both the entities to zip an entire > directory with > appropriate file names. > > I tried something like this, but didn't work. > > > > > > > > > > And it gave an error: - > > Generator already set. Cannot set generator > 'directory' at > file:/C:/jboss-3.2.1/server/im/deploy/cocoon.war/mointest/sitemap.xmap:6 > 2:44 > > Please help. > > > > Regards > Anand > > -----Original Message----- > From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] > Sent: Sunday, May 09, 2004 6:44 PM > To: users@cocoon.apache.org > Subject: Re: Help Pls Zip Archive Serializer > > On 09.05.2004 14:56, anand.vasudevan@wipro.com > wrote: > > > Gentle reminder to all. Anybody who can help me > out in zipping files > > thru cocoon. Please go thru the mail below for my > query??? > > Didn't Jorg Heymans already gave the hint to use the > directory generator > > for this? > > Joerg > > > -----Original Message----- > > From: Anand Vasudevan > > > > Hi, > > > > I want to zip the entire directory contents and if > there are > > subdirectories then their contents also using Zip > Archive Serializer. > > > > > > > > > > xmlns:zip-archive="http://apache.org/cocoon/zip-archive/1.0"> > > > > > > > > > > > > > > > > > > In the above code do I have to tediously mention > all the files in the > > directory and the subdirectories(this would > > > > again contain so many files) for zipping the > contents of the docs > > directory? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: > users-help@cocoon.apache.org > > > Confidentiality Notice > > The information contained in this electronic message > and any attachments to this message are intended > for the exclusive use of the addressee(s) and may > contain confidential or privileged information. If > you are not the intended recipient, please notify > the sender at Wipro or Mailadmin@wipro.com > immediately > and destroy all copies of this message and any > attachments. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: > users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org