Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 93329 invoked by uid 500); 14 Mar 2001 15:32:32 -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 93319 invoked from network); 14 Mar 2001 15:32:32 -0000 Message-ID: <014901c0ac9c$5a95b450$3ee2223f@cognetnt> From: "Conor MacNeill" To: , "trent_john.rosenbaum" References: <002801c0ac9a$f6818bc0$9e38ff3e@warhawk> Subject: Re: help with ant Date: Thu, 15 Mar 2001 02:35:01 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, Could you try putting Ant in C:\Ant or C:\Software\java\ant to test whether this is related to the long filename ? Win98 has problems with for statements in .bat files and long filenames which may be causing this problem. I don't have a Win98 system handy now to verify that is the cause. If it is the cause, could you please raise a documentation bug so that we include some warnings about this. Cheers Conor ----- Original Message ----- From: "trent_john.rosenbaum" To: Sent: Thursday, March 15, 2001 2:25 AM Subject: help with ant This is my first time using the list so I hope this is the right address. I am trying to setup ant on my system at home, I have followed the instructions from www.apache.org Ant version (jakarta-ant-1.3) Installed at - C:\Software\java\jakarta-ant-1.3 Autoexec.bat rem - By Windows Setup - MSCDEX.EXE /D:OEMCD000 /V /L:D set ANT_HOME=C:\Software\java\jakarta-ant-1.3 set JAVA_HOME=C:\Software\java\jdk1.3 PATH=.;../ set PATH=%PATH%;%ANT_HOME%\bin set PATH=%PATH%;%JAVA_HOME%\bin build file in right place error message returned C:\My Documents\JDBC Example>ant Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/ Main Any ideas to help sort this problem out would be cool