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:
//----------------------------------XML-------------------------------
        <target name="test" description="Launch JUnit tests" depends="compile">
                <junit>
                        <test name="src.server.test.impl.IMServerImplTest"/>
                </junit>
        </target>

When I try to run the target "test", it says: 
//----------------------------------End of XML-------------------------------
compile:
test:
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?

Sincerely
        Igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to