ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhu, Yao" <>
Subject junit task does not work.
Date Wed, 20 Sep 2000 23:32:13 GMT
The junit task does not work for me. 
I had built the most recent release (2000-9-20).  I had checked ant.jar and
saw junit in there.
10212 Wed Sep 20 19:04:32 EDT 2000

I had junit in file,
I have junit.jar (version 3.2) in my classpath.
I created a target in my build.xml file in my project module.
  <target name="junit.test">
  <junit printsummary="yes" haltonfailure="no">
    <formattter type="plain" />
    <batchtest fork="yes">
      <fileset dir="${working.dir}/src">
        <include name="**/tests/*" />

My jdk is Solaris VM (build Solaris_JDK_1.2.1_04, native threads, sunwjit).
I ran the build, with target as junit.test.  This is what I get.
    Could not create task of type: junit because I can't find it in the list
of task class definitions
Can anyone tell me what I did wrong?
Yao Zhu

View raw message