You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Colin Britton <cb...@centervilletech.com> on 2001/02/23 23:20:39 UTC

[C2] build problem with servlet 2.3

Just tried building C2 with Servlet 2.3 instead of 2.2 and get the
following build error.

    [javac]
D:\xml_technology\cocoon2\xml-cocoon\build\cocoon\src\org\apache\cocoon\
servlet\CocoonServlet.java:264: class
uk.co.weft.maybeupload.MaybeUploadRequestWrapper is an abstract class.
It can't be instantiated.
    [javac]                 req = new MaybeUploadRequestWrapper(request,
 

rgds
CB

Re: [C2] build problem with servlet 2.3

Posted by Berin Loritsch <bl...@apache.org>.
Paul Russell wrote:
> 
> * Berin Loritsch (bloritsch@apache.org) wrote :
> > Speaking of which--would it be more beneficial to everyone if we included
> > the sourcecode to MaybeUpload instead of the jar?  With the license it is
> > possible as long as the source files retain the license information in their
> > headers.
> 
> Are we allowed to do that? I thought we could only have non-APL stuff
> as libs. Anyone remember where the documentation for this kind of thing
> is?

Well, I don't know about Apache rules on this one, but the license
permits it.  We may have to do something like that for a wrapper
around the wrapper... Or simply extend it for the Servlet23 environment.

I just don't want several copies of files floating around based on
different versions of servlet specs...

Re: [C2] build problem with servlet 2.3

Posted by Donald Ball <ba...@webslingerZ.com>.
On Mon, 26 Feb 2001, Paul Russell wrote:

> * Berin Loritsch (bloritsch@apache.org) wrote :
> > Speaking of which--would it be more beneficial to everyone if we included
> > the sourcecode to MaybeUpload instead of the jar?  With the license it is
> > possible as long as the source files retain the license information in their
> > headers.
>
> Are we allowed to do that? I thought we could only have non-APL stuff
> as libs. Anyone remember where the documentation for this kind of thing
> is?

the documentation doesn't exist per se afaik. it's been discussed several
times on the members list, and the upshot is that APL/BSD compatible code
is OK, so long as its clearly attributed as per its license. GPL and LGPL
code is not, and for all others, ask the apache member representatives
(giacomo, stefano, and i at the moment).

stefano and giacomo will correct me if i'm wrong, naturally.

- donald


Re: [C2] build problem with servlet 2.3

Posted by Paul Russell <pa...@luminas.co.uk>.
* Berin Loritsch (bloritsch@apache.org) wrote :
> Speaking of which--would it be more beneficial to everyone if we included
> the sourcecode to MaybeUpload instead of the jar?  With the license it is
> possible as long as the source files retain the license information in their
> headers.

Are we allowed to do that? I thought we could only have non-APL stuff
as libs. Anyone remember where the documentation for this kind of thing
is?

Paul.

-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk

Re: [C2] build problem with servlet 2.3

Posted by Berin Loritsch <bl...@apache.org>.
AAARRRGGGHHH!!!!!

So what would make the MaybeUploadRequestWrapper an Abstract class
as opposed to a concrete class with the addition of Servlet 2.3?

Who knows what _practically_ changed between the two servlets?  Are there
new methods that are not implemented?  If this is the case, I will contact
the
MaybeUpload team, and apply a patch to the sourcecode.

Speaking of which--would it be more beneficial to everyone if we included
the sourcecode to MaybeUpload instead of the jar?  With the license it is
possible as long as the source files retain the license information in their
headers.

I think this may be the best for both teams as we will be able to submit
patches
quicker with more exposure.

----- Original Message -----
From: Colin Britton <cb...@centervilletech.com>
To: Cocoon-Dev@Xml.Apache.Org (E-mail) <co...@xml.apache.org>
Sent: Friday, February 23, 2001 5:20 PM
Subject: [C2] build problem with servlet 2.3



Just tried building C2 with Servlet 2.3 instead of 2.2 and get the
following build error.

    [javac]
D:\xml_technology\cocoon2\xml-cocoon\build\cocoon\src\org\apache\cocoon\
servlet\CocoonServlet.java:264: class
uk.co.weft.maybeupload.MaybeUploadRequestWrapper is an abstract class.
It can't be instantiated.
    [javac]                 req = new MaybeUploadRequestWrapper(request,


rgds
CB

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org