jasper2 ant task does not report JSP error descriptions 2003-12-10 - By Rodrigo Ruiz
Back Hi all,
I am trying to use the jasper2 task that comes with Tomcat. In 4.1.12 version, when I had an error, it reported something similar to:
An error occurred at line: 15 in the jsp file: /NewUser.jsp
Generated servlet error: [javac] Compiling 1 source file
C:\project\genjsp\index_jsp.java:53: illegal start of expression } ^
But with 4.1.27, it changed and now it just reports:
[jasper2] Compile failed; see the compiler error output for details. [jasper2] at org.apache.tools.ant.taskdefs.Javac (Javac.java:844) [jasper2] at org.apache.tools.ant.taskdefs.Javac (Javac.java:682) ...
But no "compiler error output" is generated anywhere :_(
Can this be fixed? Maybe the taskdef example that comes in the javadoc comments of the class (org.apache.jasper.JspC ) is not totally correct? Last time I checked the ant jspc task, it didn't compile the generated servlets, so it was unable to tell which JSP line contained the error.
Thanks in advance, Rodrigo Ruiz
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|