DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33373>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33373





------- Additional Comments From [EMAIL PROTECTED]  2005-02-03 16:15 -------
excellent point :)  i downloaded 5.5.7-src.zip and am able to compile it under 
cygwin on win xp.  you are correct that the jsp-examples precompile correctly.  
once it had all compiled successfully, i dropped one new .jsp into 
the .../jakarta-tomcat-5.5.7-src/jakarta-servletapi-5/jsr152/examples/tagplugin 
directory.  this jsp is named aaa_breaks_jspprecompile.jsp and contains has one 
line it:

<h3>no taglib uri reference in first file alphabetically makes jspc die</h3>

(note there is no reference to a taglib)

i then did a touch *.jsp in that tagplugin directory to make all the .jsp's out 
of date and re-ran ant and sure enough i get:

build-webapps-precompile:

BUILD FAILED
C:\workspace\toolbelt\tomcat\jakarta-tomcat-5.5.7-src\build.xml:50: The followin
g error occurred while executing this line:
C:\workspace\toolbelt\tomcat\jakarta-tomcat-5.5.7-src\jakarta-tomcat-5\build.xml
:767: The following error occurred while executing this line:
C:\workspace\toolbelt\tomcat\jakarta-tomcat-5.5.7-src\jakarta-tomcat-5\build.xml
:372: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/j
sp/jstl/core cannot be resolved in either web.xml or the jar files deployed with
 this application

i know this sounds crazy, but it appears that as long as the first .jsp file 
(sorted alphabetically) in any given directory of a webapp does NOT use 
taglibs, then no other jsp in that same directory that uses taglibs will 
precompile.  hopefully it's easy for you to create the 
aaa_breaks_jspprecompile.jsp file in the above mentioned directory and 
replicate the problem in your own build environment.  i apologize for not 
attaching a war file but demonstrating the problem only requires this 
single .jsp and a touch *.jsp so that all files in that subdir are marked as 
out of date.  thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to