Sunday, May 16, 2010

Message looks like an error after tests complete

All the tests complete just fine from both the command-line and in Eclipse. It ran 1678 unit tests in about 12 1/2 minutes. I get the message below, however, about problems with the antunit task. I still cannot explain this one. But for what I need to do, I can probably run individual antunits rather than run the full unit test suite for my development.

antunit-tests:
[mkdir] Created dir: /home/chyjm/workspace/ant-core/build/antunit/xml

BUILD FAILED
/home/chyjm/workspace/ant-core/build.xml:1817: Problem: failed to create task or type antlib:org.apache.ant.antunit:antunit
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/local/apache-ant-1.8.1/lib
-/home/chyjm/.ant/lib
-a directory added on the command line with the -lib argument


Total time: 12 minutes 38 seconds

No comments:

Post a Comment