> -----Original Message-----
> From: Jill Stephenson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 4:55 PM
> To: Ant Users List
> Subject: Re: Build Fails on HP-UX
> 
> 
> You must be using optional ant tasks, so you need to put
> the ant optional jar (downloadable seperately from jakarta)
> into ANT_HOME/lib.
> 
> --
> Jill

Thanks for the reply, Jill.

How would I know if I was using optional ant tasks? I just untarred the
source from Jakarta and issued the build command following the instructions
on the website. Does ant come configured for optional tasks? Also, I don't
have an ANT_HOME yet.

> 
> ----- Original Message -----
> From: "Brenneis, Steve" <[EMAIL PROTECTED]>
> To: "'Ant Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, December 06, 2001 4:26 AM
> Subject: Build Fails on HP-UX
> 
> 
> > Hello,
> >
> > I am an Ant newbie so be gentle...
> >
> > I am having a problem building an Ant distribution on HP-UX 
> using JDK
> 1.3.1.
> >
> > Here is the info:
> >
> > JAVA_HOME = /usr/java/jdk1.3.1_01
> > PATH =
> >
> /etc:/usr/etc:/home/sbrennei/bin:/usr/local/bin:/bin:/usr/bin:
> /usr/bin/X11:/
> > usr/java/jdk1.3.1_01/bin/
> > ANT_HOME and CLASSPATH are undefined.
> >
> > Thanks in advance to anyone that helps. The output is below:
> >
> > <gto> /gto3/sbrennei/jakarta-ant-1.4.1 > ./build.sh
> > -Ddist.dir=/gto3/sbrennei/jakarta-ant dist
> >
> > ... 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: /gto3/sbrennei/jakarta-ant-1.4.1/build/lib
> > Compiling 61 source files to
> /gto3/sbrennei/jakarta-ant-1.4.1/build/classes
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:59: package
> > org.apache.tools.ant.taskdefs.optional.depend.constantpool 
> does not exist
> > import org.apache.tools.ant.taskdefs.optional.depend.constantpool.*;
> > ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:81: cannot resolve symbol
> > symbol  : class ConstantPool
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >     private ConstantPool constantPool;
> >             ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/ejb/EjbJar.java:267: cannot resolve symbol
> > symbol  : class WeblogicTOPLinkDeploymentTool
> > location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
> >     public WeblogicTOPLinkDeploymentTool createWeblogictoplink() {
> >            ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:115: cannot resolve symbol
> > symbol  : class ConstantPool
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >         constantPool = new ConstantPool();
> >                            ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:123: cannot resolve symbol
> > symbol  : class ClassCPInfo
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >         className = ((ClassCPInfo)
> > constantPool.getEntry(thisClassIndex)).getClassName();
> >                       ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:135: cannot resolve symbol
> > symbol  : class ConstantPoolEntry
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >             ConstantPoolEntry entry = constantPool.getEntry(i);
> >             ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:137: cannot resolve symbol
> > symbol  : variable ConstantPoolEntry
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >             if (entry != null && entry.getTag() ==
> > ConstantPoolEntry.CONSTANT_Class) {
> >                                                    ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:138: cannot resolve symbol
> > symbol  : class ClassCPInfo
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >                 ClassCPInfo classEntry = (ClassCPInfo) entry;
> >                 ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/depend/ClassFile.java:138: cannot resolve symbol
> > symbol  : class ClassCPInfo
> > location: class 
> org.apache.tools.ant.taskdefs.optional.depend.ClassFile
> >                 ClassCPInfo classEntry = (ClassCPInfo) entry;
> >                                           ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/ejb/EjbJar.java:268: cannot resolve symbol
> > symbol  : class WeblogicTOPLinkDeploymentTool
> > location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
> >         WeblogicTOPLinkDeploymentTool tool = new
> > WeblogicTOPLinkDeploymentTool();
> >         ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/ejb/EjbJar.java:268: cannot resolve symbol
> > symbol  : class WeblogicTOPLinkDeploymentTool
> > location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
> >         WeblogicTOPLinkDeploymentTool tool = new
> > WeblogicTOPLinkDeploymentTool();
> >                                                  ^
> >
> /gto3/sbrennei/jakarta-ant-1.4.1/src/main/org/apache/tools/ant
> /taskdefs/opti
> > onal/metamata/MMetrics.java:203: cannot resolve symbol
> > symbol  : class MMetricsStreamHandler
> > location: class 
> org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
> >             ExecuteStreamHandler xmlHandler = new
> > MMetricsStreamHandler(this, xmlStream);
> >                                                   ^
> > Note: Some input files use or override a deprecated API.
> > Note: Recompile with -deprecation for details.
> > 12 errors
> >
> > BUILD FAILED
> >
> > /gto3/sbrennei/jakarta-ant-1.4.1/build.xml:207: Compile 
> failed, messages
> > should have been provided.
> >
> > Total time: 11 seconds
> > ... Cleaning Up Build Directories
> > ... Done Bootstrapping Ant Distribution
> > Bootstrap FAILED
> >
> >
> > Steve Brenneis
> > WebAXE Middleware Lead Developer
> > AT&T Wireless Services
> >
> >
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --------------------------------------------------------------
> ---------------------
> 
> The contents of this message are the views of the Author and 
> do not necessarily reflect the views of SUNCORP METWAY LTD  
> ABN 66 010 831 722. 
> 
> The content of this e-mail, including attachments is a 
> confidential communication between the Suncorp Metway Group 
> and the intended addressee. Any unauthorised use of the 
> contents is expressly prohibited. If you have received this 
> e-mail in error please contact the sender immediately and 
> then delete the message and any attachment(s).
> 
> http://www.suncorpmetway.com.au
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to