DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22103>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22103 JspC.execute do not close files Summary: JspC.execute do not close files Product: Tomcat 5 Version: 5.0.6 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When there is an error in the JSP file, and the JSP compiler is invoked from an ANT script via JspC.execute(), the opened files are not closed. What seems to happen is that the java output files is created and opened, the error in the JSP is detected and an exception is trigered without closing the opened files. That raise problems when the ANT script is called from an IDE (like eclipse) that does'nt use a separate JVM to execute it. In that case, the created empty file can not be deleted without closing the IDE. Is it possible to add a finally clause somewhere to always close all opened files, even in case of errors ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]