Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88459 invoked from network); 22 Aug 2007 08:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 08:41:05 -0000 Received: (qmail 44223 invoked by uid 500); 22 Aug 2007 08:40:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44199 invoked by uid 500); 22 Aug 2007 08:40:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 44188 invoked by uid 99); 22 Aug 2007 08:40:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 01:40:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.252.149.38] (HELO smtpout02s1.x-echo.com) (193.252.149.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 08:40:57 +0000 Message-ID: <46CBF682.3010002@echo.fr> Date: Wed, 22 Aug 2007 10:40:34 +0200 From: =?UTF-8?B?S3J6eXN6dG9mIEt1Y3liYcWCYQ==?= Organization: Orange User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Ant Users List Subject: Trouble executing a junit task Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-105.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.3 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