Hello:
I am new in learning Tomcat.
In turn, I download tomcat source code , build it with Apache-Ant , and
test it with JUnit. I use the following commands to build and test Tomcat
ant test
It seams the test fails as I got the following result:
BUILD FAILED
E:\work\apache-tomcat-7.0.20-src\build.xml:1063: The following error
occurred while executing this line:
E:\work\apache-tomcat-7.0.20-src\build.xml:1125: Some tests completed
with an Error. See E:\work\apache-tomcat-7.0.20-src/output/build/logs for
details.
Total time: 21 minutes 24 seconds
Then I found the following tests failed
org.apache.tomcat.util.net.TestSsl
org.apache.tomcat.util.net.TestCustomSsl
The following is my test environment:
System: Windows XP sp3
JDK: 1.6.0-u21
Apache-Ant: 1.8.2
Tomcat: 7.0.20
My questions are:
1. Should all the test had to pass?
2. What's the use of the java classes in the path of
"apache-tomcat-7.0.20-src\test"
3. Also I had tested Tomcat under JDK-1.7.0, is Tomcat7.0.20
compatible with JDK1.7 ?
Thank you very much and best regards!