cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization FOPSerializer.java
Date Sun, 16 Mar 2003 04:47:53 GMT
vgritsenko    2003/03/15 20:47:53

  Modified:    src/blocks/fop/java/org/apache/cocoon/serialization
                        FOPSerializer.java
  Log:
  Add a warning on deprecated configuration syntax
  
  Revision  Changes    Path
  1.3       +3 -1      cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java
  
  Index: FOPSerializer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FOPSerializer.java	12 Mar 2003 09:35:36 -0000	1.2
  +++ FOPSerializer.java	16 Mar 2003 04:47:53 -0000	1.3
  @@ -169,6 +169,8 @@
           // Old syntax: Attribute src of element user-config contains file
           String configUrl = conf.getChild("user-config").getAttribute("src", null);
           if (configUrl != null) {
  +            getLogger().warn("Attribute src of user-config element is deprecated. "
  +                             + "Provide Cocoon URI as value of the element instead");
               try {
                   // VG: Old version of serializer supported only files
                   configUrl = new File(configUrl).toURL().toExternalForm();
  
  
  

Mime
View raw message