Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11033 invoked from network); 2 Jun 2009 10:37:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jun 2009 10:37:59 -0000 Received: (qmail 49197 invoked by uid 500); 2 Jun 2009 10:38:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 49113 invoked by uid 500); 2 Jun 2009 10:38:10 -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 49103 invoked by uid 99); 2 Jun 2009 10:38:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 10:38:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 10:38:00 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MBRNE-00068Y-BQ for user@ant.apache.org; Tue, 02 Jun 2009 03:37:40 -0700 Message-ID: <23830098.post@talk.nabble.com> Date: Tue, 2 Jun 2009 03:37:40 -0700 (PDT) From: ted_hankey To: user@ant.apache.org Subject: Error when attempting to run TestNG tests in ANT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: david.joyce.xig@fmr.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I cannot get TestNG tests to run in ANT. It complains of a "Cannot load class from file: " error. This is the snippet from my ANT build file. Start: TestNG Unit Testing End: TestNG Testing What confuses me here is that it finds the Test files as denoted by the "**/*Test.class" expression but doesn't see to be able to find the corresponding class files when attempting to run these. Where am I going wrong here as I've tried all classpath variations at this stage. Thanks. -- View this message in context: http://www.nabble.com/Error-when-attempting-to-run-TestNG-tests-in-ANT-tp23830098p23830098.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org