Forgot to mention: - The description pertains to the Linux 32 bits test case + Oracle JDK 1.6. - For the Windows x64 + JDK 1.7 test case, replace "javac1.6" by "javac1.7" and you're done.
Erik >> Please. And include the steps you are using to configure Ant as the >> compiler in case there is something odd there. > > @mark: do you think the description below is concise enough ? > > Erik > > - Download apache-ant-1.8.2-bin.tar.gz > - Extract to any temp directory > - Copy apache-ant-1.8.2/lib/ant.jar + > apache-ant-1.8.2/lib/ant-launcher.jar to <TC>/lib > - Forget ant (extracted directory can be deleted) > - Copy JDK lib/tools.jar to <TC>/lib (mandatory when fork=false, see > below) > - Update original web.xml this way (starting at line 230): > <servlet> > <servlet-name>jsp</servlet-name> > <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> > <init-param> > <param-name>fork</param-name> > <param-value>false</param-value> > </init-param> > <init-param> > <param-name>xpoweredBy</param-name> > <param-value>false</param-value> > </init-param> > <init-param> > <param-name>compiler</param-name> > <param-value>javac1.6</param-value> > </init-param> > <init-param> > <param-name>suppressSmap</param-name> > <param-value>true</param-value> > </init-param> > <load-on-startup>3</load-on-startup> > </servlet> > - Delete <TC>/work to be sure not to run with any previous compilation > results > - Run tomcat with startup.sh > - Go to http://localhost:8080 > - When TC home dir absolute pathname contains a space, it fails as > described by my first mail. > > That's it. > >> On 16/01/2012 23:14, epr...@orpheus.fr wrote: >>> ### Summary >>> >>> TC fails to compile JSP when 1) the compiler is AntCompiler and 2) >>> there >>> is a whitespace somewhere in the pathname to TC home dir. >> >> <snip/> >> >>> ### Questions >>> >>> Q1 - Does somebody already have seen this problem? >> >> I don't recall seeing this particular, but it doesn't surprise me. >> >>> Q2 - Do you think I should fill a bug? >> >> Please. And include the steps you are using to configure Ant as the >> compiler in case there is something odd there. >> >> Mark >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org