Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 22650 invoked from network); 1 Apr 2005 09:06:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Apr 2005 09:06:06 -0000 Received: (qmail 461 invoked by uid 500); 1 Apr 2005 09:05:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 201 invoked by uid 500); 1 Apr 2005 09:05:58 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 93586 invoked by uid 99); 1 Apr 2005 09:00:16 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of f.dacosta.g@gmail.com designates 64.233.162.201 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=J/vH2qeImbT79Ooi7FG4+kWj/ZHsB0foPe8jlGOMI8m68B6+lQb8glurNoBaOOQuipUv/3Ixb6KJ+to0ctN6wOHmAIdKnPTpis/vh4ogOrKq2QZhHo2dfxPOCa0QP9kPEhXyBKnNFlWUZMpA1S53n0rQU1QZ6m11thI04MpcJY8= Message-ID: <8ea7207905040101004c34d6@mail.gmail.com> Date: Fri, 1 Apr 2005 11:00:12 +0200 From: Fermin Da Costa Reply-To: Fermin Da Costa To: user@ant.apache.org Subject: Re: NoClassDefFoundError for class that is on the classpath? In-Reply-To: <1112339150.19507.6.camel@c-jabley> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <738D02851761C04B83F584817BCD02F80266E797@EXCHSERV3.Limited.brands.com> <8ea72079050331062570978f8@mail.gmail.com> <1112339150.19507.6.camel@c-jabley> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Apr 1, 2005 9:05 AM, James Abley wrote: > On Thu, 2005-03-31 at 15:25, Fermin Da Costa wrote: > > On Thu, 31 Mar 2005 09:04:17 -0500, Doklovic, Jonathan > > wrote: > > > What does your entry look like? > > I'm assuming y'r referring to the code that actually calls the class. > > ... > > > > > failonerror="true" maxmemory="256m"> > > > > > > > > > > > > > > ... > > > > I'm probably missing something, but why aren't you using a classpath > argument to ? Good point, i was probably sleeping with my eyes open ;-) I guess because the entry takes care of that for the ...Main class being used. Hence i overlooked the unrelated fact that operated on its own. > e.g. > > > > ... > Point well taken and i'll give it a shot. Thx, Fermin DCG > > James > > > The init target works just fine (as in: it does not come up with an error) > > > > The org.jmlspecs.jmlunit.Main *is* where one expects it to be. > > > > tia, > > > > Fermin DCG > > > > > > > > -----Original Message----- > > > From: F Da Costa Gomez [mailto:dacostagomez@gmail.com] > > > Sent: Thursday, March 31, 2005 7:53 AM > > > To: user@ant.apache.org > > > Subject: NoClassDefFoundError for class that is on the classpath? > > > > > > Hi, > > > > > > Following the error i get when trying to run a script (from Eclipse 3.0.2) > > > > > > jmlUnitTestStubs: > > > [java] java.lang.NoClassDefFoundError: org/jmlspecs/jmlunit/Main > > > [java] Exception in thread "main" > > > > > > The class is actually *on* the classpath because the following line in > > > echo-ed: > > > ... > > > C:/eclipse/plugins/org.jmlspecs_1.0.4/jml-release.jar; > > > C:/eclipse/plugins/org.jmlspecs_1.0.4/jml-specs; > > > > > > Actually it can be found in the release.jar > > > > > > The code used to set the classpath is as follows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Could anybody point a the right direction to resolve this? > > > > > > tia, > > > > > > Fermin DCG > > > > > > --------------------------------------------------------------------- > > > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org