Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 63577 invoked by uid 500); 28 Jun 2001 12:06:08 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 63082 invoked from network); 28 Jun 2001 12:06:01 -0000 From: "Piroumian, Konstantin" To: cocoon-dev@xml.apache.org Message-ID: <09ba01c0ffca$b035b3c0$9d0a000a@flagship.ru> References: Subject: Re: [C2] jar files Date: Thu, 28 Jun 2001 16:05:56 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > 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. > > 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. > > J. Regards, Konstantin Piroumian. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org