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 2016/11/10 04:03:16 UTC
[Bug 60356] New: Compiling tagx using JspC as ant task fails when
tagx recursive and packaged in jar
https://bz.apache.org/bugzilla/show_bug.cgi?id=60356
Bug ID: 60356
Summary: Compiling tagx using JspC as ant task fails when tagx
recursive and packaged in jar
Product: Tomcat 7
Version: 7.0.72
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: dev@tomcat.apache.org
Reporter: evan.greensmith@exari.com
Target Milestone: ---
Created attachment 34433
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34433&action=edit
Test Case
We recently changed the way we distribute out tag libraries, and now package
them within a jar file. We have a nightly deploy and test. After this change
the deployed server was working fine, but the test compilation of the tag
library now fails.
Attached is a cut-down test case that shows the issue. If you run
ant -Dtomcat.dir=PATH_TO_TOMCAT7
you will see the error:
build.xml:38: org.apache.jasper.JasperException: java.io.FileNotFoundException:
/META-INF/tags/listitems.tagx
If you take the same war file and deploy it, you can view the welcome page and
the tag works as expected. You should see:
<!DOCTYPE html>
<html>
<head>
<title>Example of tagx file with self reference packaged in jar</title>
</head>
<body>
<p>A list of my favourite things</p>
<ul><li>raindrops on roses</li><li>whiskers on kittens</li><li>bright
copper kettles</li><li>warm wollen mittens</li><li>brown paper packages tied up
with string</li></ul>
</body>
</html>
You don't see this issue if the tagx is not recursive.
--
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
[Bug 60356] Compiling tagx using JspC as ant task fails when tagx
recursive and packaged in jar
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60356
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- 7.0.x for 7.0.74 onwards
- 6.0.x for 6.0.49 onwards
--
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
[Bug 60356] Compiling tagx using JspC as ant task fails when tagx
recursive and packaged in jar
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60356
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
8.0.x onwards not affected.
--
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