tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler TagFileProcessor.java
Date Thu, 24 Apr 2003 20:45:42 GMT
kinman      2003/04/24 13:45:42

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        TagFileProcessor.java
  Log:
  - Omit dependency info for tag files in jars, since jars are considered
    immutable under current design.
  
  Revision  Changes    Path
  1.50      +7 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagFileProcessor.java
  
  Index: TagFileProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagFileProcessor.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- TagFileProcessor.java	16 Apr 2003 22:49:38 -0000	1.49
  +++ TagFileProcessor.java	24 Apr 2003 20:45:42 -0000	1.50
  @@ -544,7 +544,11 @@
               TagFileInfo tagFileInfo = n.getTagFileInfo();
               if (tagFileInfo != null) {
                   String tagFilePath = tagFileInfo.getPath();
  -                pageInfo.addDependant(tagFilePath);
  +		JspCompilationContext ctxt = compiler.getCompilationContext();
  +		if (ctxt.getTagFileJars().get(tagFilePath) == null) {
  +		    // Omit tag file dependency info on jar files for now.
  +                    pageInfo.addDependant(tagFilePath);
  +		}
                   Class c = loadTagFile(compiler, tagFilePath, n.getTagInfo(),
                                         pageInfo);
                   n.setTagHandlerClass(c);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message