tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epr...@orpheus.fr
Subject Re: TC7 + AntCompiler problems with whitespace in pathname
Date Wed, 18 Jan 2012 21:14:50 GMT
For anybody interested:
https://issues.apache.org/bugzilla/show_bug.cgi?id=52480 is now fixed.

More info: http://svn.apache.org/viewvc?view=revision&revision=1232850

Discussion topic is closed, thank you everybody who helped - Erik

> Ok, I will open a bug tonight (French time zone).
>
> Thanks, Erik
>
>> On 17/01/2012 12:22, eprost@orpheus.fr wrote:
>>> 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.
>>
>> That looks good to me. Please open a bug and I'll take a look.
>>
>> Mark
>>
>>>
>>> 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, eprost@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-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message