lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication DefaultDocumentIdToPathMapper.java
Date Fri, 08 Aug 2003 09:09:07 GMT
egli        2003/08/08 02:09:07

  Modified:    src/java/org/apache/lenya/cms/publication
                        DefaultDocumentIdToPathMapper.java
  Log:
  Instead of hardcoding it use the CONTENT_PATH from the
  Publication.
  
  Revision  Changes    Path
  1.11      +6 -2      cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.java
  
  Index: DefaultDocumentIdToPathMapper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultDocumentIdToPathMapper.java	7 Aug 2003 07:14:55 -0000	1.10
  +++ DefaultDocumentIdToPathMapper.java	8 Aug 2003 09:09:07 -0000	1.11
  @@ -89,7 +89,11 @@
           File file =
               new File(
                   publication.getDirectory(),
  -                "content" + File.separator + area + File.separator + documentId);
  +                Publication.CONTENT_PATH
  +                    + File.separator
  +                    + area
  +                    + File.separator
  +                    + documentId);
   
           return file;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message