ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hopkins <jhopk...@infopsyc.com>
Subject building ant under FreeBSD3.4 with JDK-1.2.2
Date Mon, 12 Jun 2000 16:02:21 GMT
hello,


I am running FreeBSD-3.4 with JDK-1.2.2 (native FreeBSD build)  I am now
trying to install tomcat.  According to the documents i've read about
tomcat, it requires ant.  So i've downloaded ant, and began to install
that.  I've run into a couple of problems though.  First I notice That
ant requests that the Java API for XML Parsing kit be installed.  Once
unzipped i'm supposed to run ~/jaxp1.0.1/examples/simple/make which
produces the following output

root@greyling (~/tmp/jakarta/jaxp1.0.1/examples/simple)$ make
javac -classpath
"../../jaxp.jar:../../parser.jar:/usr/local/jdk1.2.2/lib/classes.zip" 
main.java
java -classpath
".:../../jaxp.jar:../../parser.jar:/usr/local/jdk1.2.2/lib/classes.zip" 
main ../samples/book-order.xml
Root element of the doc is Order
root@greyling (~/tmp/jakarta/jaxp1.0.1/examples/simple)$

Can someone please explain or point to a reference as to what "Root
element of the doc is Order" is supposed to mean to me.  This is also
the point where install instructions for jaxp1.0.1 end.  so i continued
with the jakarta-ant build.  which calls to first run
jakarta-ant/bootstrap.sh.  this completes successfully.  then i execute
from the jakarta-ant directory

%./build.sh -Dant.dist.dir=/usr/local/ant dist

which eventually hangs at the following spot.

[exec] Generating
/usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/help-doc.html...
[exec] Generating
/usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/stylesheet.css...
[exec] 3 warnings


The 3 error messages i recieve are:

[exec] Constructing Javadoc information...
[exec]
/usr/home/jhopkins/tmp/jakarta/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java:60:
Class netrexx.lang.Rexx not found in import.
[exec] import netrexx.lang.Rexx;
[exec]        ^
[error] javadoc: warning - Import not found: netrexx.lang.Rexx -
ignoring!
[exec] Building tree for all the packages and classes...
[exec] Building index for all the packages and classes...
[exec] Generating
/usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/overview-tree.html...
[exec] Generating
/usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/index-all.html...
[error] javadoc: warning -
org.apache.tools.ant.DirectoryScanner.addDefaultExcludes(): Tag @see:
can't find DEFAULTEXCLUDES in org.apache.tools.ant.DirectoryScanner
[error] javadoc: warning -
org.apache.tools.ant.taskdefs.optional.RenameExtensions: @version tag
has no arguments.
[exec] Generating
/usr/home/jhopkins/tmp/jakarta/build/ant/javadocs/deprecated-list.html...
[exec] Building index for all classes...




my classpath and path should be set correctly here is what i have


root@greyling (~/tmp/jakarta/jakarta-ant)$ echo $CLASSPATH
:.:/usr/local/jdk1.2.2/lib/tools.jar:/usr/local/share/java/classes/jsdk.jar:/usr/local/share/java/java/jdbc/mm.mysql.jdbc-2.0pre5:/home/jhopkins/tmp/jakarta/jaxp1.0.1/jaxp.jar:/home/jhopkins/tmp/jakarta/jaxp1.0.1/parser.jar
root@greyling (~/tmp/jakarta/jakarta-ant)$ echo $PATH
/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/scripts:/usr/local/libexec:/usr/X11R6/bin:/usr/libexec:/usr/local/libexec:/usr/games:/usr/local/jdk1.2.2/bin


I've been struggling here for the last few days now, can someone please
help?
Also if i go on to start to compile tomcat it eventually hangs at the
same sytlesheet.css with 1 warning.  I didn't expect tomcat to build,
but had to attempt anyhow.

Jeremy


*************************************************************************************** 
Jeremy Hopkins		   	|| 	Systems Administrator
http://zags.infopsyc.com/ 	||	Research Triangle Commerce, Inc.
zags@infopsyc.com	 	|| 	http://www.rtci.com
				||	jhopkins@rtci.com
***************************************************************************************

Mime
View raw message