| difficulty in bulding ant | difficulty in bulding ant 2003-02-14 - By suraj waghulde
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=<c:\ant> Access denied
C:\>build -Ddist.dir=<c:\ant> 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
|
|
 |