I managed to run junit task, but i just can't manage to make it found the test class, it's compiled  under test dir  (${tests.dir}) and i checked that the class is indeed there.
 
  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
 
  [junit]     Caused an ERROR
  [junit] br.com.sicredi.poc1.testes.Poc1Test
  [junit] java.lang.ClassNotFoundException: br.com.sicredi.poc1.testes.Poc1Test
 
   <!-- Tests -->
   <target name="test" depends="deploy,compiletests">
    <junit printsummary="true" fork="yes">
      <formatter type="plain" usefile="false"/>
      <test name = "br.com.sicredi.poc1.testes.Poc1Test"/>
   <classpath>     
  <fileset dir="${tests.dir}"/>  
      </classpath>     
 
    </junit>
   </target>
Emerson Cargnin - MSA
SICREDI - Ramal 3358-4860
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to