http://ant.apache.org/manual/index.html

JUnit
Description
This task runs tests from the JUnit testing framework. The latest
version of the framework can be found at http://www.junit.org. This task
has been tested with JUnit 3.0 up to JUnit 3.8.1; it won't work with
versions prior to JUnit 3.0.

Note: This task depends on external libraries not included in the Ant
distribution. See Library Dependencies for more information. 

Note: You must have junit.jar and the class files for the <junit> task
in the same classpath. You can do one of: 

Put both junit.jar and the optional tasks jar file in ANT_HOME/lib. 
Do not put either in ANT_HOME/lib, and instead include their locations
in your CLASSPATH environment variable. 
Do neither of the above, and instead, specify their locations using a
<classpath> element in the build file. See the FAQ for details. 



-----Original Message-----
From: Fuad Efendi [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 28, 2005 9:45 PM
To: [email protected]; 'nutch-dev'
Subject: RE: junit test failed


Check version of ANT! 


Line 173:    <junit printsummary="yes" haltonfailure="no" fork="yes"
dir="${basedir}"
      errorProperty="tests.failed" failureProperty="tests.failed">

nutch\trunk\build.xml:173: Could not create task or type of type: junit.


Probably, your current ANT configuration/version does not have such a
task defined, <junit>

Regards,
Fuad Efendi


-----Original Message-----
From: AJ Chen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 28, 2005 9:01 PM
To: nutch-dev
Subject: junit test failed


I'm a new comer, trying to test Nutch for vertical search. I downloaded 
the code and compiled it in cygwin. But, the unit test failed with the 
following message:

test-core:
   [delete] Deleting directory nutch\trunk\build\test\data
    [mkdir] Created dir: nutch\trunk\build\test\data

BUILD FAILED
nutch\trunk\build.xml:173: Could not create task or type of type: junit.

Did I miss anything for junit? Appreciate your help.


AJ Chen








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to