Hmmm... Not sure what I changed.  I'm getting a NoClassDefFoundException
now instead of the failure.

[junit] Executing: java
org.apache.tools.ant.taskdefs.optional.junit.JUnitTe
stRunner test.hello.HelloWorldTest haltOnError=false haltOnFailure=true
[junit] java.lang.NoClassDefFoundError:
org/apache/tools/ant/taskdefs/option
al/junit/JUnitTestRunner

I echoed the LOCALCLASSPATH in ant.bat to make sure that the optional jar
was included and it was.  In fact, I dumped another jar I needed in the lib
directory and it worked fine.

Jason Yip
Software Developer, ThoughtWorks, Inc
http://www.thoughtworks.com
(312) 560-4978 (cell)
"It is not the strongest of the species that survive, nor the most
intelligent, but the ones most responsive to change." -- Charles Darwin



                                                                                       
                            
                    "Rakshit                                                           
                            
                    Daga"                To:     <[EMAIL PROTECTED]>         
                            
                    <[EMAIL PROTECTED]        cc:                                           
                            
                    edu>                 Subject:     Re: [Ant 1.3, JUnit 3.6] Tests 
always fail                   
                                                                                       
                            
                    05/17/2001                                                         
                            
                    11:49                                                              
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    ant-user                                                           
                            
                                                                                       
                            
                                                                                       
                            




Try doing ant -verbose and see what java command the junit task translates
to ,
and compare it with your java command





Reply via email to