ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rebel indian <rebel_stud...@yahoo.com>
Subject ANT BUILD ERROR
Date Mon, 23 Jun 2003 22:44:41 GMT
Hi folks:
I downloaded .tar.gz archive:
apache-ant-1.5.3-1-src.tar.gz [PGP] [MD5]
as mentioned on web page Downloading Ant - Source
Distribution on ant.apache.org

After I did tar -zxvf apache....tar.gz
I went to the directory of apache-ant....

and  I wrote ./build.sh install to install the
binaries in the current directory
but what I get is BUILD FAILED. I am using

[root@localhost apache-ant-1.5.3-1]# java -version
java version "1.3.1_08"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1_08-b03)
Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed
mode)

my PATHS:
---------------------------------------------------------
my /etc/profile.d/java.sh file looks like this:

JAVA_HOME=/usr/local/jdk1.3.1_08/
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
-------------------------------------------------------
/etc/profile.d/ant.sh

ANT_HOME=/usr/local/apache-ant-1.5.3-1/
export ANT_HOME
PATH=$PATH:$ANT_HOME/bin
export PATH
------------------------------------------------------


This is all what I get when I write build.sh:
------------------------------------------------------


[root@localhost apache-ant-1.5.3-1]# ./build.sh
install
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated
API.
Note: Recompile with -deprecation for details.
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: /usr/local/apache-ant-1.5.3-1/build/lib
Compiling 162 source files to
/usr/local/apache-ant-1.5.3-1/build/classes
Note: Some input files use or override a deprecated
API.
Note: Recompile with -deprecation for details.
Copying 1 file to
/usr/local/apache-ant-1.5.3-1/build/classes
Copying 2 files to
/usr/local/apache-ant-1.5.3-1/build/classes
Copying 2 files to
/usr/local/apache-ant-1.5.3-1/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl

jars:
Copying 4 files to /usr/local/apache-ant-1.5.3-1/build
Building jar:
/usr/local/apache-ant-1.5.3-1/build/lib/ant.jar
Building jar:
/usr/local/apache-ant-1.5.3-1/build/lib/optional.jar

dist-lite:
Created dir: /usr/local/apache-ant-1.5.3-1/bootstrap
Created dir:
/usr/local/apache-ant-1.5.3-1/bootstrap/bin
Created dir:
/usr/local/apache-ant-1.5.3-1/bootstrap/lib
Copying 2 files to
/usr/local/apache-ant-1.5.3-1/bootstrap/lib
Copying 9 files to
/usr/local/apache-ant-1.5.3-1/bootstrap/bin

BUILD SUCCESSFUL
Total time: 9 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Buildfile: build.xml

install:

prepare:

check_for_optional_packages:

build:
Created dir:
/usr/local/apache-ant-1.5.3-1/build/classes
Compiling 444 source files to
/usr/local/apache-ant-1.5.3-1/build/classes
Note: Some input files use or override a deprecated
API.
Note: Recompile with -deprecation for details.
Copying 3 files to
/usr/local/apache-ant-1.5.3-1/build/classes
Copying 2 files to
/usr/local/apache-ant-1.5.3-1/build/classes
Copying 2 files to
/usr/local/apache-ant-1.5.3-1/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl

jars:
Building jar:
/usr/local/apache-ant-1.5.3-1/build/lib/ant.jar
Building jar:
/usr/local/apache-ant-1.5.3-1/build/lib/optional.jar

dist-lite:
Created dir: /usr/local/apache-ant-1.5.3-1/bin
Copying 2 files to /usr/local/apache-ant-1.5.3-1/lib
Copying 9 files to /usr/local/apache-ant-1.5.3-1/bin

BUILD FAILED
file:/usr/local/apache-ant-1.5.3-1/build.xml:788:
chmod returned: -1

Total time: 16 seconds

------------------------------------------------------

PLEASE HELP
Thanks and Regards

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message