remm 2003/02/21 08:29:51 Modified: jasper2/src/share/org/apache/jasper/compiler TagFileProcessor.java Log: - This prevents the NPE precompiling jsp-examples, but unfortunately the tag files do not get generated for some reason (which gives a compilation error). - Feel free to revert the patch if it's bad. Revision Changes Path 1.43 +6 -2 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.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- TagFileProcessor.java 20 Feb 2003 06:16:38 -0000 1.42 +++ TagFileProcessor.java 21 Feb 2003 16:29:51 -0000 1.43 @@ -458,10 +458,14 @@ tagInfo, ctxt.getRuntimeContext(), (JarFile) ctxt.getTagFileJars().get(tagFilePath)); + tempWrapper.getJspEngineContext() + .setClassPath(ctxt.getClassPath()); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add( tempWrapper.getJspEngineContext().getCompiler()); } else { + wrapper.getJspEngineContext() + .setClassPath(ctxt.getClassPath()); tagClazz = wrapper.loadTagFile(); } } finally {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]