You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Dave Cramer <Da...@micro-automation.net> on 2000/01/25 16:48:36 UTC

errors building tomcat 3.1 M1

I am having difficulty building 3.1M1

This is the first error message
Compiling 338 source files to /usr/local/src/build/tomcat/classes
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerReque
st.java:84: Can't subclass interfaces: interface
org.apache.tomcat.core.Request
public class ServerRequest extends Request {
                                   ^
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerRespo
nse.java:84: Can't subclass interfaces: interface
org.apache.tomcat.core.Response
public class ServerResponse extends Response {

Also it doesn't seem to build unless the jakarta-ant directory has been
created, and built

-- DC --


Re: errors building tomcat 3.1 M1 (answers)

Posted by Dave Cramer <Da...@micro-automation.net>.
Answering my own question with hints from Ethan (thanks)

The build works fine from the zip file. The errors occur when you try to
build from the tar.gz file

-- DC --
----- Original Message -----
From: "Dave Cramer" <Da...@micro-automation.net>
To: <ge...@jakarta.apache.org>; <eg...@klg.com>
Sent: Tuesday, January 25, 2000 11:07 AM
Subject: Re: errors building tomcat 3.1 M1


> The source I used was from the tar file ???
>
> I realize that ant is used to build, but the previous release used the
> jakarta-tools directory for the ant.jar, this build requires the
jakarta-ant
> directory ?/
>
>
> -- DC --
> ----- Original Message -----
> From: "Ethan Henry" <eg...@klg.com>
> To: <ge...@jakarta.apache.org>
> Sent: Tuesday, January 25, 2000 10:55 AM
> Subject: Re: errors building tomcat 3.1 M1
>
>
> > Dave Cramer wrote:
> > >
> > > I am having difficulty building 3.1M1
> >
> > I had the same problem building from CVS checked-out source late last
> week.
> > I got the Tomcat 3 source .zip file and built from that instead.
> > Maybe I'll try to check the source out again to see if the bug is fixed.
> >
> > > This is the first error message
> > > Compiling 338 source files to /usr/local/src/build/tomcat/classes
> > >
>
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerReque
> > > st.java:84: Can't subclass interfaces: interface
> > > org.apache.tomcat.core.Request
> > > public class ServerRequest extends Request {
> > >                                    ^
> > >
>
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerRespo
> > > nse.java:84: Can't subclass interfaces: interface
> > > org.apache.tomcat.core.Response
> > > public class ServerResponse extends Response {
> > >
> > > Also it doesn't seem to build unless the jakarta-ant directory has
been
> > > created, and built
> >
> > That's a feature, not a bug. :) Ant is what's used to build Tomcat.
> >
> > Ethan
> > --
> > Ethan Henry                                        egh@klg.com
> > Java Evangelist, KL Group                   http://www.klg.com
> >              "Software Development Productivity"
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>
>


Re: errors building tomcat 3.1 M1

Posted by Ethan Henry <eg...@klg.com>.
Dave Cramer wrote:
> 
> The source I used was from the tar file ???
> 
> I realize that ant is used to build, but the previous release used the
> jakarta-tools directory for the ant.jar, this build requires the jakarta-ant
> directory ?/

You may have missed it, as it happened kind of quietly, but Ant got
promoted to it's own top-level project because everyone loves Ant
so darn much! Yay Ant! It moved out of jakarta-tools to jakarta-ant.

I haven't read any of the documentation in ages, so it may be that 
it never got updated. 

Jakarta seems to go mostly by the old credo of "running code and
rough consensus". 
--
Ethan Henry                                        egh@klg.com
Java Evangelist, KL Group                   http://www.klg.com
             "Software Development Productivity"

Re: errors building tomcat 3.1 M1

Posted by Dave Cramer <Da...@micro-automation.net>.
The source I used was from the tar file ???

I realize that ant is used to build, but the previous release used the
jakarta-tools directory for the ant.jar, this build requires the jakarta-ant
directory ?/


-- DC --
----- Original Message -----
From: "Ethan Henry" <eg...@klg.com>
To: <ge...@jakarta.apache.org>
Sent: Tuesday, January 25, 2000 10:55 AM
Subject: Re: errors building tomcat 3.1 M1


> Dave Cramer wrote:
> >
> > I am having difficulty building 3.1M1
>
> I had the same problem building from CVS checked-out source late last
week.
> I got the Tomcat 3 source .zip file and built from that instead.
> Maybe I'll try to check the source out again to see if the bug is fixed.
>
> > This is the first error message
> > Compiling 338 source files to /usr/local/src/build/tomcat/classes
> >
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerReque
> > st.java:84: Can't subclass interfaces: interface
> > org.apache.tomcat.core.Request
> > public class ServerRequest extends Request {
> >                                    ^
> >
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerRespo
> > nse.java:84: Can't subclass interfaces: interface
> > org.apache.tomcat.core.Response
> > public class ServerResponse extends Response {
> >
> > Also it doesn't seem to build unless the jakarta-ant directory has been
> > created, and built
>
> That's a feature, not a bug. :) Ant is what's used to build Tomcat.
>
> Ethan
> --
> Ethan Henry                                        egh@klg.com
> Java Evangelist, KL Group                   http://www.klg.com
>              "Software Development Productivity"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>
>


Re: errors building tomcat 3.1 M1

Posted by Ethan Henry <eg...@klg.com>.
Dave Cramer wrote:
> 
> I am having difficulty building 3.1M1

I had the same problem building from CVS checked-out source late last week.
I got the Tomcat 3 source .zip file and built from that instead.
Maybe I'll try to check the source out again to see if the bug is fixed.

> This is the first error message
> Compiling 338 source files to /usr/local/src/build/tomcat/classes
> /usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerReque
> st.java:84: Can't subclass interfaces: interface
> org.apache.tomcat.core.Request
> public class ServerRequest extends Request {
>                                    ^
> /usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerRespo
> nse.java:84: Can't subclass interfaces: interface
> org.apache.tomcat.core.Response
> public class ServerResponse extends Response {
> 
> Also it doesn't seem to build unless the jakarta-ant directory has been
> created, and built

That's a feature, not a bug. :) Ant is what's used to build Tomcat.

Ethan
--
Ethan Henry                                        egh@klg.com
Java Evangelist, KL Group                   http://www.klg.com
             "Software Development Productivity"

Re: errors building tomcat 3.1 M1 (addendum)

Posted by Dave Cramer <Da...@micro-automation.net>.
My environment is RH 6.1 JDK 1.2.2 from Sun, Apache 1.3.9

-- DC --
----- Original Message -----
From: "Dave Cramer" <Da...@micro-automation.net>
To: <ge...@jakarta.apache.org>
Sent: Tuesday, January 25, 2000 10:48 AM
Subject: errors building tomcat 3.1 M1


> I am having difficulty building 3.1M1
>
> This is the first error message
> Compiling 338 source files to /usr/local/src/build/tomcat/classes
>
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerReque
> st.java:84: Can't subclass interfaces: interface
> org.apache.tomcat.core.Request
> public class ServerRequest extends Request {
>                                    ^
>
/usr/local/src/jakarta-tomcat/src/share/org/apache/tomcat/server/ServerRespo
> nse.java:84: Can't subclass interfaces: interface
> org.apache.tomcat.core.Response
> public class ServerResponse extends Response {
>
> Also it doesn't seem to build unless the jakarta-ant directory has been
> created, and built
>
> -- DC --
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>
>