> 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, [email protected] 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]