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=25597>. 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=25597 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2005-06-30 10:31 ------- The exception occurs when calling the jspc ant target with a srcdir without a WEB-INF root considering the following directory structure: c: - src - myapp - web - src - build with a simple .jsp file in the web dir. The following ant target wil generate the exception <target name="jsp-compile-test"> <property name="app-dir" value="c:\src\myapp"/> <property name="genjsp" value="${app-dir}/build/gensrc" /> <property name="web" value="${app-dir}/web"/> <delete dir="${genjsp}" failonerror="false"/> <mkdir dir="${genjsp}"/> <jspc destdir="${genjsp}" verbose="1" srcdir="${web}" compiler="jasper41" classpathref="jasper.classpath"> <include name="**/*.jsp"/> </jspc> </target> However, if the dir WEB-INF exists it works fine. Granted, it makes sense that the WEB-INF dir must exist, but a more userfriendly error message would be nice. OS : WinXP Pro sp2 JDK : Sun 1.4.2_08 TOMCAT : 4.1.31 -- 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]