ASF Bugzilla – Attachment 26149 Details for
Bug 50066
Cannot compile recursive tag with ant if it uses a class from the webapp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for tomcat 6
patch tc6 recursive tag compilation.patch (text/plain), 1011 bytes, created by
Sylvain Laurent
on 2010-10-09 09:53:21 UTC
(
hide
)
Description:
patch for tomcat 6
Filename:
MIME Type:
Creator:
Sylvain Laurent
Created:
2010-10-09 09:53:21 UTC
Size:
1011 bytes
patch
obsolete
>Index: java/org/apache/jasper/compiler/TagFileProcessor.java >=================================================================== >--- java/org/apache/jasper/compiler/TagFileProcessor.java (revision 1005469) >+++ java/org/apache/jasper/compiler/TagFileProcessor.java (working copy) >@@ -618,6 +618,10 @@ > .getServletContext(), ctxt.getOptions(), > tagFilePath, tagInfo, ctxt.getRuntimeContext(), > ctxt.getTagFileJarUrl(tagFilePath)); >+ // Use same classloader and classpath for compiling tag files >+ tempWrapper.getJspEngineContext().setClassLoader( >+ (URLClassLoader) ctxt.getClassLoader()); >+ tempWrapper.getJspEngineContext().setClassPath(ctxt.getClassPath()); > tagClazz = tempWrapper.loadTagFilePrototype(); > tempVector.add(tempWrapper.getJspEngineContext() > .getCompiler());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50066
:
26148
| 26149