ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Trouble executing a junit task
Date Wed, 22 Aug 2007 08:49:39 GMT
ResourceCollection was introduced in Ant 1.7.0. Are you mixing different 
Ant versions?


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Krzysztof Kucybała [mailto:kkucybala@echo.fr] 
>Gesendet: Mittwoch, 22. August 2007 10:41
>An: Ant Users List
>Betreff: Trouble executing a junit task
>
>Hi,
>
>I'm trying to build the dashboard application for cruise control 2.7. 
>The build.xml for that app has a junit task, which fails and 
>breaks the 
>build. First it would give me an error that it could not 
>initialize the 
>task, with a suggestion to put a relevant jar file on the 
>classpath. So 
>I put some ant-junit.jar file (included in the cc 
>distribution) into the 
>$ANT_HOME/lib/ directory. Now what I get is this error:
>
>> BUILD FAILED
>> /var/local/cruisecontrol/reporting/dashboard/build.xml:146:  
> java.lang.NoClassDefFoundError: 
>org/apache/tools/ant/types/ResourceCollection
>
>Can anyone tell me why is that? Did I use a wrong version of the file? 
>Am I still missing some library (junit.jar perhaps - but where 
>and what 
>version should it be?) Any help will be greatly appreciated.
>
>Best regards,
>Krzysztof
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message