tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Price" ...@moment.net>
Subject RE: Tomcat / FreeBSD / build.sh probs
Date Wed, 19 Jul 2000 16:05:20 GMT

There doesn't seem to be documented anywhere an exact list of steps to get
this stuff in the right order, which to compile first, etc.

To get ant.jar I had to download the jakarta-tomcat-ant BINARIES.

I set the classpath as you suggested

Then I ran the jakarta-tomkcat SOURCE build.sh and made it through the
compile.

Now I've got an error after running the test:

# bin/tomcat.sh ant -buildfile conf/test-tomcat.xml
Guessing TOMCAT_HOME from tomcat.sh to bin/..
Setting TOMCAT_HOME to bin/..
bin/tomcat.sh: /usr/local/jdk1.1.8/: permission denied

I'm su'd to root

Resin is starting to look better and better...

Thanks for the help.

Patrick Price
Momentum Online


-----Original Message-----
From: tim@azoth.dnai.com [mailto:tim@azoth.dnai.com]On Behalf Of Tim
Kientzle
Sent: Tuesday, July 18, 2000 9:39 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat / FreeBSD / build.sh probs


The 'build.sh' script uses the 'ant' build tool, which
lives in 'ant.jar'.  You'll need to add 'ant.jar'
to your classpath.  If you don't have ant.jar,
you'll need to download the distribution for ant.

Your classpath will then look something like:

/usr/local/jdk1.1.8/lib/classes.zip:/path/to/ant.jar

This will, of course, grow as you find other libraries
that must be included.  (For example, you'll soon need the
'servlet.jar', 'jaxp.jar', and 'parser.jar' libraries.
The first is a Jakarta project, the other two
are from Sun's JAXP XML parser.)

The good news:  You're on the right track.

				- Tim

Patrick Price wrote:
>
> Trying again with tomcat / FreeBSD 3.4:
>
> #./build.sh
> Unable to initialize threads: cannot find class java/lang/Thread
>
> Then:
>
> #setenv CLASSPATH /usr/local/jdk1.1.8/lib/classes.zip
>
> Then:
>
> #./build.sh
> Can't find class org.apache.tools.ant.Main
>
> Patrick Price
> Momentum Online


Mime
View raw message