cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: [C2] jar files
Date Thu, 28 Jun 2001 12:11:05 GMT


> -----Original Message-----
> From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> Sent: Thursday, 28 June 2001 13:06
> To: cocoon-dev@xml.apache.org
> Subject: Re: [C2] jar files
> 
> 
> > Hi all,
> >
> > I've been looking at the jar files which C2 uses and I've 
> some questions
> (no
> > surprise there ;)...
> >
> > I'm creating a webapp which *only* serves XML.  No SVG, 
> jpg, pdf, just
> XML.
> > So I was looking to see which jar's I can remove and wondered if a
> document
> > which stated something along the lines of jar XXX is 
> required for the
> > functionality YYY, ZZZ etc... would be useful?  It would 
> certainly cut
> down
> > the size of my war file and accelerate load times although 
> the largest by
> > far is javac.
> 
> I'm faced the same problem. From what I leart I can give an 
> approximate list
> of jars that you need for "minimal Cocoon" only, please correct me, if
> anything is incorrect:
> 
> avalon-excalibur.jar [Avalon Excalibur]
> avalon-framework.jar [Avalon framework]
> cocoon-2.1-dev.jar [Cocoon engine]
> dom2.jar [W3C DOM interfaces]
> jakarta-regexp-1.2.jar [Regular expressions lib]
> jstyle.jar [jStyle] - not sure that this jar is necessary, 
> but it's used
> somewhere inside Cocoon
> logkit-1.0b2.jar [apache LogKit]
> maybeupload.jar [File upload support] - this jar is required for HTML
> serialization.
> velocity-1.1-rc1.jar - it contains an additional class from 
> LogKit (see
> below)
> xalan_2_2.jar - you know (can be replaced by other XSLT transformer)
> xerces1_4_0.jar - you know this too (this can be replaced by 
> another parser,
> isn't it?)
> 
> >
> > Also, and this is prob directed to the wrong people, why 
> does the velocity
> > jar include so many other apache projects?  Shouldn't the 
> jar files for
> them
> > be included seperately so they can be kept upto date?  For 
> example I can
> see
> > jakarta-commons/collections, jakarta-avalon-logkit and 
> jakarta-oro.  I do
> > wonder if this is the case with any others...?
> 
> About the velocity I have the same question. What is it for 
> and why does it
> contain LogKit and more over, it contains an extra
> org.apache.log.output.ServletOutputLogTarget.class which is 
> absent in the
> separate LogKit jar.
> 
> >
> > Note that logkit is included as a separate jar and only the 
> alphabetical
> > order of names keeps new functionality in front of velocity old.
> 
> But Cocoon doesn't work without the velocity lib, because it uses the
> ServletOutputLogTarget class.

I'll see if I can trace this.  It's still worrying that velocity contains at
_least_ 3 other jakarta projects...!

> >
> > Thoughts?
> 
> I think that a list with explanation of every jar in C2 will 
> be very useful.
> I don't know, e.g., what are they Axis jars for? C2 works 
> without them and can render XML.

AXIS is something to do with the SOAP examples I believe.

I'm working on the list now, I'll send it ASAP.

J.


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

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


Mime
View raw message