|
From: Colin S. <col...@ex...> - 2003-07-28 02:14:17
|
I've build Spring now a number of time over the last couple of weeks, but tonight was the first time I actually tried to run the unit tests. I am getting an incredibly puzzling error from ant saying it can't create the junit task ---- BUILD FAILED file:E:/src/open/springframework/main/build.xml:238: Could not create task or ty pe of type: junit. Ant could not find the task or a class this task relies upon. ----- I spent 15 minutes trying to figure this out, but have no clues as to what is going on. I am using the same ant settings as I've used in several dozen of my own projects and a number of open source projects, ie I have a batch file which adds ant to the path and sets ANT_HOME. I though perhaps the ant.jar (which seems to be ant 1.5.3 recompiled some time this year) in the lib/ant dir was interfering somehow, but removing it makes no difference. Adding 'fork="true") to the junit call makes no difference. Anybody seen something like this before? |