Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-18 Thread eprost
For anybody interested:
https://issues.apache.org/bugzilla/show_bug.cgi?id=52480 is now fixed.

More info: http://svn.apache.org/viewvc?view=revisionrevision=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, epr...@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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namecompiler/param-name
 param-valuejavac1.6/param-value
 /init-param
 init-param
 param-namesuppressSmap/param-name
 param-valuetrue/param-value
 /init-param
 load-on-startup3/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



 -
 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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread André Warnier

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.


Personal opinion : you should not do that (use paths with spaces in them).  It was a 
stupid idea to allow this in the first place, and the person who first implemented this in 
an operating system should be found and shot (or at least be awarded an IgNobel prize; or 
have the costs of this over the years deducted from their old-age pension).  It always 
brings problems somewhere down the line, and not only with Tomcat.


And I really, really do not understand why the people who make the installer of the 
Windows version of Tomcat - and who are undoubtedly otherwise pretty smart people - are 
compounding the issue by installing this by default in a sub-directory named Apache 
Software Foundation.


Now about whether this is a bug in Tomcat or its documentation : I am fairly sure that not 
long ago, I saw a strong warning somewhere in the on-line Tomcat documentation, about not 
using spaces in pathnames somewhere, as it was not supported by some component.

It may have been somewhere related to deployment.

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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Kees Jan Koster
Dear all,

 Now about whether this is a bug in Tomcat or its documentation : I am fairly 
 sure that not long ago, I saw a strong warning somewhere in the on-line 
 Tomcat documentation, about not using spaces in pathnames somewhere, as it 
 was not supported by some component.

Perhaps the Tomcat start script can issue a warning in case spaces are found in 
the path?

Kees Jan
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Mark Thomas
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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.

Following Andre's advice, I googled with deployment and found this:

- TC6: In CGI Mode, executable full path with spaces does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=49657

- TC5: Tomcat fails to start on linux if CATALINA_HOME contains a space
https://issues.apache.org/bugzilla/show_bug.cgi?id=43578

- TC5: java.endorsed.dirs is not used when JSP compilation is forked (see
comment #2)
https://issues.apache.org/bugzilla/show_bug.cgi?id=31257#c2

It looks like having spaces ought to be ok.

= Does anybody having experience with Tomcat dev team think I should fill
a new bug?

Thank you.

 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.

 Personal opinion : you should not do that (use paths with spaces in them).
  It was a
 stupid idea to allow this in the first place, and the person who first
 implemented this in
 an operating system should be found and shot (or at least be awarded an
 IgNobel prize; or
 have the costs of this over the years deducted from their old-age
 pension).  It always
 brings problems somewhere down the line, and not only with Tomcat.

 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.

 Now about whether this is a bug in Tomcat or its documentation : I am
 fairly sure that not
 long ago, I saw a strong warning somewhere in the on-line Tomcat
 documentation, about not
 using spaces in pathnames somewhere, as it was not supported by some
 component.
 It may have been somewhere related to deployment.

 -
 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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Pid
On 17/01/2012 10:21, epr...@orpheus.fr wrote:
 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.
 
 Following Andre's advice, I googled with deployment and found this:
 
 - TC6: In CGI Mode, executable full path with spaces does not work
 https://issues.apache.org/bugzilla/show_bug.cgi?id=49657
 
 - TC5: Tomcat fails to start on linux if CATALINA_HOME contains a space
 https://issues.apache.org/bugzilla/show_bug.cgi?id=43578
 
 - TC5: java.endorsed.dirs is not used when JSP compilation is forked (see
 comment #2)
 https://issues.apache.org/bugzilla/show_bug.cgi?id=31257#c2
 
 It looks like having spaces ought to be ok.
 
 = Does anybody having experience with Tomcat dev team think I should fill
 a new bug?

Answer Mark's email to you first.


p


 Thank you.
 
 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.

 Personal opinion : you should not do that (use paths with spaces in them).
  It was a
 stupid idea to allow this in the first place, and the person who first
 implemented this in
 an operating system should be found and shot (or at least be awarded an
 IgNobel prize; or
 have the costs of this over the years deducted from their old-age
 pension).  It always
 brings problems somewhere down the line, and not only with Tomcat.

 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.

 Now about whether this is a bug in Tomcat or its documentation : I am
 fairly sure that not
 long ago, I saw a strong warning somewhere in the on-line Tomcat
 documentation, about not
 using spaces in pathnames somewhere, as it was not supported by some
 component.
 It may have been somewhere related to deployment.

 -
 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
 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
 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-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
init-param
param-namefork/param-name
param-valuefalse/param-value
/init-param
init-param
param-namexpoweredBy/param-name
param-valuefalse/param-value
/init-param
init-param
param-namecompiler/param-name
param-valuejavac1.6/param-value
/init-param
init-param
param-namesuppressSmap/param-name
param-valuetrue/param-value
/init-param
load-on-startup3/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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
 Answer Mark's email to you first.

Done.

@Pid: thank you for the reminder, I thought I already posted an answer!

Erik

 On 17/01/2012 10:21, epr...@orpheus.fr wrote:
 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty
 smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.

 Following Andre's advice, I googled with deployment and found this:

 - TC6: In CGI Mode, executable full path with spaces does not work
 https://issues.apache.org/bugzilla/show_bug.cgi?id=49657

 - TC5: Tomcat fails to start on linux if CATALINA_HOME contains a space
 https://issues.apache.org/bugzilla/show_bug.cgi?id=43578

 - TC5: java.endorsed.dirs is not used when JSP compilation is forked
 (see
 comment #2)
 https://issues.apache.org/bugzilla/show_bug.cgi?id=31257#c2

 It looks like having spaces ought to be ok.

 = Does anybody having experience with Tomcat dev team think I should
 fill
 a new bug?

 Answer Mark's email to you first.


 p


 Thank you.

 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.

 Personal opinion : you should not do that (use paths with spaces in
 them).
  It was a
 stupid idea to allow this in the first place, and the person who first
 implemented this in
 an operating system should be found and shot (or at least be awarded an
 IgNobel prize; or
 have the costs of this over the years deducted from their old-age
 pension).  It always
 brings problems somewhere down the line, and not only with Tomcat.

 And I really, really do not understand why the people who make the
 installer of the
 Windows version of Tomcat - and who are undoubtedly otherwise pretty
 smart
 people - are
 compounding the issue by installing this by default in a sub-directory
 named Apache
 Software Foundation.

 Now about whether this is a bug in Tomcat or its documentation : I am
 fairly sure that not
 long ago, I saw a strong warning somewhere in the on-line Tomcat
 documentation, about not
 using spaces in pathnames somewhere, as it was not supported by some
 component.
 It may have been somewhere related to deployment.

 -
 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



 --

 [key:62590808]





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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namecompiler/param-name
 param-valuejavac1.6/param-value
 /init-param
 init-param
 param-namesuppressSmap/param-name
 param-valuetrue/param-value
 /init-param
 load-on-startup3/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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Mark Thomas
On 17/01/2012 12:22, epr...@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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namecompiler/param-name
 param-valuejavac1.6/param-value
 /init-param
 init-param
 param-namesuppressSmap/param-name
 param-valuetrue/param-value
 /init-param
 load-on-startup3/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
 


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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
Ok, I will open a bug tonight (French time zone).

Thanks, Erik

 On 17/01/2012 12:22, epr...@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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namecompiler/param-name
 param-valuejavac1.6/param-value
 /init-param
 init-param
 param-namesuppressSmap/param-name
 param-valuetrue/param-value
 /init-param
 load-on-startup3/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



 -
 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



Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread eprost
Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=52480

Erik

 On 17/01/2012 12:22, epr...@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-namejsp/servlet-name
 servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
 init-param
 param-namefork/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namexpoweredBy/param-name
 param-valuefalse/param-value
 /init-param
 init-param
 param-namecompiler/param-name
 param-valuejavac1.6/param-value
 /init-param
 init-param
 param-namesuppressSmap/param-name
 param-valuetrue/param-value
 /init-param
 load-on-startup3/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



 -
 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