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=33650>. 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=33650 ------- Additional Comments From [EMAIL PROTECTED] 2005-02-19 14:47 ------- The compilation process is an external compilation process with ant javac task. I'm not using the internal one as for compilation within jspc it is often inappropriate and it is not flexible enough for file selection, classpath, and jvm settings. I'm using this because many people tend to name jsp include with .jsp extensions and it will f* up blind attempt to compile from Jasper as they will be generated to java and it is invalid code by essence. Workaround process is usually. 1. jspc (.jsp -> .java) 2. delete generated static includes based on text content selectors (looking for unevaluated taglibs syntax for example) 3. javac everything I'm myself always recommending people to name their includes as jspf (or .inc) extensions as it is: - visually more convenient - Jasper does not choke on it - JSP editors will still understand the syntax (except for .inc) I would really like to enhance this Ant jspc task but this is in my mile long todo list. As for the speed up, I cannot see any reason why it should be 10x slower than java compilation (2-3s for a single jsp->java is huge). but really, all I'm missing is the taglibs evaluation and the process apparently should be able to fly NB: For I/O it should not cost much to wrap BufferedOutputStream over the FileOutputStream. (I did not check if there was any change on this in cvs as I playing with 5.0.30 sources) but really it is peanuts compared to the zillions of I/O from constant loading and parsing of includes and tlds. -- 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]