ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emerson Cargnin - MSA" <emers...@sicredi.com.br>
Subject Problem in running junit task in ant
Date Tue, 28 May 2002 13:04:20 GMT
I'm getting the following error when running JUnit task through ant :

test:

BUILD FAILED
C:\eclipse\workspace\POC\script\build.xml:304: Could not create task or type
of
type: junit.
...
...

my test target :

   <!-- Teste -->
   <target name="test" depends="deploy">
    <junit printsummary="true">
      <formatter type="plain" usefile="false"/>
      <test name ="br.com.sicredi.poc1.testes.Poc1.Test"/>
   <classpath>
        <pathelement location="${build.dir}"/>
        <path refid="project.class.path"/>
      </classpath>
    </junit>
   </target>

I even put ANT_HOME\lib in the classpath, but i thought that optional tasks
don't need further importing or taskdef, anyone knows about it?


Emerson Cargnin - MSA
SICREDI - Ramal 3358-4860


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message