Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 97947 invoked by uid 500); 14 Feb 2003 12:48:48 -0000 Received: (qmail 97944 invoked from network); 14 Feb 2003 12:48:48 -0000 Received: from web20607.mail.yahoo.com (216.136.226.165) by daedalus.apache.org with SMTP; 14 Feb 2003 12:48:48 -0000 Message-ID: <20030214124849.38641.qmail@web20607.mail.yahoo.com> Received: from [203.195.159.11] by web20607.mail.yahoo.com via HTTP; Fri, 14 Feb 2003 04:48:49 PST Date: Fri, 14 Feb 2003 04:48:49 -0800 (PST) From: suraj waghulde Subject: difficulty in bulding ant To: ant-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Sir, As you suggested me: I think it should read: build -Ddist.dir="c:\ant" reference: -----Original Message----- Hello Sir, I am using windows98 SE & I want to install ant 1.5 fr my project work. But I am getting an error. C:\>build -Ddist.dir= Access denied C:\>build -Ddist.dir= dist Access denied C:\> I have set the path & everything accordingly in c:\ant but what is this error? How can I ge rid of it? can you please tell me? ------------------------------------------------------- New message: I am getting the output as : C:\ant>build -Ddist.dir="c:\ant" ... Bootstrapping Ant Distribution Deleting build... Bad command or file name JAVA_HOME=c:\jdk1.3.0_01 JAVA=c:\jdk1.3.0_01\bin\java JAVAC=c:\jdk1.3.0_01\bin\javac CLASSPATH=lib\xercesImpl.jar;lib\xml-apis.jar;build\classes;src\main; ... Compiling Ant Classes Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. ... Copying Required Files src\main\org\apache\tools\ant\taskdefs\defaults.properties 1 file(s) copied src\main\org\apache\tools\ant\types\defaults.properties 1 file(s) copied ... Building Ant Distribution Buildfile: build.xml bootstrap: prepare: check_for_optional_packages: build: Created dir: C:\ant\build\lib Compiling 159 source files to C:\ant\build\classes Modern compiler not found - looking for classic compiler BUILD FAILED file:C:/ant/build.xml:571: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk dire ctory. Total time: 16 seconds ... Cleaning Up Build Directories Deleting build\classes... ... Done Bootstrapping Ant Distribution Bootstrap FAILED C:\ant> I don't know what should happen & what is happenning? Can you please tell me what should I do next. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com