ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Natasa Lazetic" <nlaze...@cyclonecommerce.com>
Subject RE: Build Failure
Date Fri, 13 Apr 2001 17:48:58 GMT
Your first problem is that "chmod" function is failing.  These are the
errors you listed:

chmod: can't access bootstrap/bin/ant
chmod: can't access bootstrap/bin/antRun

So, you need to run the build script as a user that has proper rights to
change properties of "bootstrap/bin/ant" and "bootstrap/bin/antRun"
directories.  Super user (root) will definitely work.

... Natasa ...



-----Original Message-----
From: Kairam, Raj [mailto:KairamR@coned.com]
Sent: Thursday, April 12, 2001 6:02 AM
To: 'tomcat-user@jakarta.apache.org'; 'ant-user@jakarta.apache.org'
Cc: Kairam, Raj
Subject: Build Failure


I am trying to install and build Tomcat on a HP-UX 11.0 Box without any
success.
This is the environment I am working with.
HOME=/
JAKARTA_HOME=/opt/jakarta
JAVA_HOME=/opt/java1.3
APACHE_HOME=/usr/local/apache
TOMCAT_HOME=/opt/jakarta/dist/tomcat

JAKARTA_TOMCAT_SOURCE=/opt/jakarta-tomcat-3.2.1-src
JAKARTA_ANT_SOURCE=/opt/jakarta-ant-1.3
JAKARTA_SERVLETAPI_SOURCE=/opt/jakarta-servletapi-3.2-src

PATH contains the following ..
:/usr/local/apache/bin:opt/java1.3/bin:/opt/jakarta/dist/tomcat/bin

The two jar files have been downloaded to..
/opt/jakarta-ant-1.3/lib/parser.jar
/opt/jakarta-ant-1.3/lib/jaxp.jar

CLASSPATH is not set explicitly yet..

This is what I have done following the instructions in the README for
Tomcat
Servlet Container
(/opt/jakarta-tomcat-3.2.1-src/README) - As recommended there, tried to
bulid the executable
version for ANT first.

cd $JAKARTA_ANT_SOURCE
./bootstrap.sh > redirect.txt

I am getting the following on the screen
BUILD FAILED
/opt/jakarta-ant-1.3/build.xml:171: Compile failed. Messages should have
been provided
chmod: can't access bootstrap/bin/ant
chmod: can't access bootstrap/bin/antRun

The redirect.txt is attached.
 <<redirect.txt>> 
The build fails and the ant.jar is never created.
It looks like there exist a lot of unresolved symbols, for example, the
first error in the attached .txt file
[javac]
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/dep
end/
ClassFile.java:81:
[javac] symbol : class ConstantPool
[javac] location: class
org.apache.tools.ant.taskdefs.optional.depend.ClassFile
[javac]   private ConstantPool constantPool;
------------------------------------------------------------------------
----
-------------------------------/constantpool/ClassCPInfo.java
etc....

But the ClassFile.java does exist.

What is being done for the build process to fail ?.  Please advise.

Thanks
Raj Kairam 


Mime
View raw message