lenya/src/java/org/apache/lenya/cms/publishing PublishingEnvironment.java,1.17,1.18

Andreas Hartmann <[email protected]> Tue, 13 May 2003 17:57:37 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/java/org/apache/lenya/cms/publishing
In directory erbium:/tmp/cvs-serv10530/src/java/org/apache/lenya/cms/publishing

Modified Files:
	PublishingEnvironment.java 
Log Message:
warning instead of exception when publishing configuration file not found

Index: PublishingEnvironment.java
===================================================================
RCS file: /repository/lenya/src/java/org/apache/lenya/cms/publishing/PublishingEnvironment.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** PublishingEnvironment.java	25 Apr 2003 14:16:46 -0000	1.17
--- PublishingEnvironment.java	13 May 2003 15:57:33 -0000	1.18
***************
*** 109,113 ****
              configure(configuration);
          } catch (Exception e) {
!             log.error("Cannot load publishing configuration! ", e);
          }
      }
--- 109,115 ----
              configure(configuration);
          } catch (Exception e) {
!             log.warn("Did not load publishing configuration from publication.xconf (file is missing). " + 
!             "That means you can't access all PublishingEnvironment parameters and you should only" +
!             "use the AntTask.");
          }
      }