ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor A. Deruga" <>
Subject Ant+JUnit
Date Sat, 13 Nov 2004 11:50:25 GMT
I know that this question has been asked hundreds times, but I can't find a 
single document on it... Maybe you can redirect me?

I'm using Eclipse+Ant. I've added these lines into build.xml:
	<target name="test" description="Launch JUnit tests" depends="compile">
			<test name="src.server.test.impl.IMServerImplTest"/>

When I try to run the target "test", it says: 
//----------------------------------End of XML-------------------------------
BUILD FAILED: /home/ingvarr/bin/eclipse/workspace/openim/build.xml:39: Could 
not create task or type of type: junit.

Ant could not find the task or a class this task relies upon.
//----------------------------------End of Log-------------------------------

Do I need to specify any classpath elements to run this particular tasks? All 
the other tasks that I've used (javac, jar, mkdir) are working fine. 

Any ideas on this problem?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message