I'm trying to build Tomcat 4.0.1. The first time I tried 'ant dist',
it failed with
[style] Failed to process
/usr/local/build/tomcat/jakarta-tomcat-4.0.1-src/webapps/tomcat-docs/appdev/index.xml
BUILD FAILED
/usr/local/build/tomcat/jakarta-tomcat-4.0.1-src/webapps/tomcat-docs/build.xml:90:
javax.xml.transform.TransformerException: java.lang.NullPointerException
But when I tried 'ant dist' a second time, it succeeded. This
behavior is reproducible: after 'ant clean', the first 'ant dist'
always fails, and the second 'ant dist' always succeeds. This smells
like a bug to me.
Anyway, after the qualified success of 'ant dist', I tried 'ant test'.
This failed eventually with:
test-dir-context:
[echo] Running FileDirContext tests
[java] .F.......
[java] Time: 0.164
[java] There was 1 failure:
[java] 1)
testGetAttributesWebInf(org.apache.naming.resources.FileDirContextTestCase)junit.framework.AssertionFailedError:
WEB-INF attribute 'resourcetype' is expected
[java] at
org.apache.naming.resources.BaseDirContextTestCase.checkWebInfAttributes(BaseDirContextTestCase.java:452)
[java] at
org.apache.naming.resources.FileDirContextTestCase.testGetAttributesWebInf(FileDirContextTestCase.java:162)
[java]
[java] FAILURES!!!
[java] Tests run: 8, Failures: 1, Errors: 0
[java]
BUILD FAILED
/home1/berriz/build/tomcat/jakarta-tomcat-4.0.1-src/catalina/build.xml:566: Java
returned: -1
Total time: 4 seconds
Any suggestions as to what to do to fix this would be most welcome.
KJ
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>