Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 37754 invoked by uid 500); 8 Jun 2001 13:23:07 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 37725 invoked from network); 8 Jun 2001 13:23:05 -0000 Message-ID: <20010608132303.21794.qmail@nwcst288.netaddress.usa.net> Date: 8 Jun 2001 16:23:03 EAT From: Net4Nuts To: ant-user@jakarta.apache.org Subject: Re: [More optional task problems] X-Mailer: USANET web-mailer (34FM.0700.17C.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Louise Pryor wrote: Ok, I must be doing something really stupid... but what? I have optional.jar in my ANT_HOME/lib. However, I still have to do a taskdef for the junit task, else it doesn't= = find the task; and then, when I run it, I get run.test: [junit] Running dev.uk.co.sfs.calcengine.RRResultsTest [junit] java.lang.NoClassDefFoundError: = org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner I'm running with ant 1.3, junit 3.1. I run ant on NT from my own batch file, which sets ANT_HOME and adds = %ANT_HOME%\bin onto the front of PATH. The behaviour looks as if it's not picking up the defaults.properties fil= e = (but it's right there in the jar, I can see it) and then as if it wants optional.jar in the classpath for the junit task.= = but surely that can't be right. Thanks for any help! Louise --------------------------------------------------------------- Louise Pryor Securities Finance Systems Ltd louise.pryor@riskexplorer.com CBC House T: +44 131 272 2782 24 Canning Street F: +44 131 272 2800 Edinburgh EH3 8EG http://www.riskexplorer.com Scotland ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1