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 DefaultSiteTree.java
Date Fri, 08 Aug 2003 09:08:19 GMT
egli        2003/08/08 02:08:19

  Modified:    src/java/org/apache/lenya/cms/publication
                        DefaultSiteTree.java
  Log:
  Instead of hardcoding it use the CONTENT_PATH from the
  Publication.
  
  Revision  Changes    Path
  1.27      +10 -3     cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java
  
  Index: DefaultSiteTree.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- DefaultSiteTree.java	8 Aug 2003 08:16:32 -0000	1.26
  +++ DefaultSiteTree.java	8 Aug 2003 09:08:19 -0000	1.27
  @@ -105,7 +105,14 @@
        */
       protected DefaultSiteTree(File pubDir, String area)
           throws SiteTreeException {
  -        this(new File(pubDir, "content"+ File.separator + area + File.separator + SITE_TREE_FILENAME));
  +        this(
  +            new File(
  +                pubDir,
  +                Publication.CONTENT_PATH
  +                    + File.separator
  +                    + area
  +                    + File.separator
  +                    + SITE_TREE_FILENAME));
       }
   
       /**
  
  
  

---------------------------------------------------------------------
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