Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 17889 invoked from network); 4 Jan 2000 15:13:42 -0000 Received: from taz.hyperreal.org (HELO hyperreal.org) (209.133.83.16) by 63.211.145.10 with SMTP; 4 Jan 2000 15:13:42 -0000 Received: (qmail 6501 invoked by uid 2016); 4 Jan 2000 15:12:25 -0000 Delivered-To: apcore-xml-stylebook-cvs@apache.org Received: (qmail 6461 invoked from network); 4 Jan 2000 15:12:21 -0000 Received: from unknown (HELO locus.apache.org) (63.211.145.10) by taz.hyperreal.org with SMTP; 4 Jan 2000 15:12:21 -0000 Received: (qmail 17813 invoked by uid 1023); 4 Jan 2000 15:12:20 -0000 Date: 4 Jan 2000 15:12:20 -0000 Message-ID: <20000104151220.17812.qmail@locus.apache.org> From: pier@locus.apache.org To: xml-stylebook-cvs@apache.org Subject: cvs commit: xml-stylebook/src/org/apache/stylebook/producers DirectoryProducer.java pier 00/01/04 07:12:20 Modified: src/org/apache/stylebook/producers DirectoryProducer.java Log: These lines seems to break UNIX files (duplicating the name of the directory. Thanks to "Gerard van Enk" Revision Changes Path 1.2 +10 -5 xml-stylebook/src/org/apache/stylebook/producers/DirectoryProducer.java Index: DirectoryProducer.java =================================================================== RCS file: /home/cvs/xml-stylebook/src/org/apache/stylebook/producers/DirectoryProducer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DirectoryProducer.java 1999/11/30 12:28:55 1.1 +++ DirectoryProducer.java 2000/01/04 15:12:20 1.2 @@ -25,7 +25,7 @@ * @author Pierpaolo Fumagalli * @author Copyright 1999 © The Apache * Software Foundation. All rights reserved. - * @version CVS $Revision: 1.1 $ $Date: 1999/11/30 12:28:55 $ + * @version CVS $Revision: 1.2 $ $Date: 2000/01/04 15:12:20 $ */ public class DirectoryProducer extends AbstractComponent implements Producer { public Document produce(CreationContext c) @@ -39,10 +39,15 @@ if (source.getProtocol().equals("file")) { // Trim the file name and open the directory String src=source.getFile(); - for(int x=0;x + // + //for(int x=0;x