Did you download the correct JNDI package (JNDI 1.2.1
Reference Implementation)? Is it being picked up from
the correct location in build.properties ({tomcat
installation directory}/build.properties). Check the
build.properties file and make sure that it is being
refence properly. Are there any error msgs displayed
during the build?

--- [EMAIL PROTECTED] wrote:
> 
> 
> When I try 'ant test' (after getting past 'ant
> dist'), it fails
> 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
> 
> P.S.  Please Cc me in your response.
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to