tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
Date Sat, 09 Aug 2003 19:03:15 GMT
luehe       2003/08/09 12:03:15

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  Replaced message with more meaningful warning
  
  Revision  Changes    Path
  1.53      +8 -5      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- JspC.java	9 Aug 2003 13:08:18 -0000	1.52
  +++ JspC.java	9 Aug 2003 19:03:15 -0000	1.53
  @@ -1023,8 +1023,11 @@
                   for (int i = 0; i < libs.length; i++) {
                       if( libs[i].length() <5 ) continue;
                       String ext=libs[i].substring( libs[i].length() - 4 );
  -                    if( ! ".jar".equalsIgnoreCase( ext )) {
  -                        System.out.println("XXX bad jar " + libs[i]);
  +                    if (! ".jar".equalsIgnoreCase(ext)) {
  +                        if (".tld".equalsIgnoreCase(ext)) {
  +                            log.warn("TLD files should not be placed in "
  +                                     + "/WEB-INF/lib");
  +                        }
                           continue;
                       }
                       try {
  
  
  

Mime
View raw message