You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/10/21 11:20:45 UTC
DO NOT REPLY [Bug 46047] New: Issue when using include directive
inside tag files that are inside jar files
https://issues.apache.org/bugzilla/show_bug.cgi?id=46047
Summary: Issue when using include directive inside tag files that
are inside jar files
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Jasper
AssignedTo: dev@tomcat.apache.org
ReportedBy: cedric.mailleux@jahia.com
Created an attachment (id=22760)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22760)
patch for ParserController class
When we use the include directive inside a tag file like :
<%@ tag body-content="empty" description="Renders a date control to query the
creation date of a content object." %>
<%@include file="/META-INF/tags/search/declaration.tagf" %>
And that this tag file is inside a jar file, jasper has an issue dealing the
dependencies by losing the fact that the included file is inside a jar file.
static {
_jspx_dependants = new java.util.ArrayList(4);
_jspx_dependants.add("/META-INF/tags/search/declaration.tagf");
_jspx_dependants.add("/META-INF/tags/search/date.tagf");
_jspx_dependants.add("jar:file:/home/rincevent/tools/apache-tomcat-6.0.18/webapps/jahia/WEB-INF/lib/jahia-taglib-6.0-SNAPSHOT.jar!/META-INF/search.tld");
_jspx_dependants.add("jar:file:/home/rincevent/tools/apache-tomcat-6.0.18/webapps/jahia/WEB-INF/lib/jahia-taglib-6.0-SNAPSHOT.jar!/META-INF/tags/search/resultsPageUrl.tag");
}
The other dependencies are handled correctly thanks to patch
https://issues.apache.org/bugzilla/show_bug.cgi?id=43741 .
I propose a patch to ParserController so that when we detect that we are inside
a jarFile we prepend the jarFileUrl to absFileName.
The patch has been made on the trunk source code of tomcat.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 46047] Issue when using include directive inside
tag files that are inside jar files
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46047
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-11-03 14:53:23 PST ---
This has been applied to trunk and proposed for 6.0.x. Many thanks for the
patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 46047] Issue when using include directive inside
tag files that are inside jar files
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46047
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> 2008-11-30 15:07:07 PST ---
This has been fixed for 6.0.x and will be included in 6.0.19 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org