Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 32424 invoked by uid 500); 20 Mar 2002 11:15:52 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 32382 invoked from network); 20 Mar 2002 11:15:50 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Peter Robins To: cocoon-users@xml.apache.org Subject: Re: newbie: how to get a clean application Date: Wed, 20 Mar 2002 09:28:24 +0000 X-Mailer: KMail [version 1.3.1] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020320092825.2F2404EC7@localhost.localdomain> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N a bit of an old thread, but I would second this. I would suggest something like Perl with its modules: a basic core system to download/install, plus a list of modules/extensions to provide additional functionality as needed. Ideally, adding a module would be a simple push of a button, but at the least each module should include instructions on what has to be added to libs/web.xml/configuration files/sitemap to use it. In short, instead of assuming that everyone uses all functions and supplying everything as default, assume most people don't use most functions, so don't want to download/install them. At the moment, I'ld be pretty sure that at least some people will take a brief look at the distribution, decide it's far too complicated, and move on; this is a pity, as Cocoon is not really all that complicated, it's just the way it's packaged makes it look like it is. On Thursday 14 Mar 2002 6:09 pm, Moritz Petersen wrote: > nicola, > > i have another remark. after using your (and also vadim's!) hints, i've got > a much smaller cocoon webapp, than before. but that's not exactly what i > wanted. > the produced war file contains still documentations etc. and the > sitemap.xmap and cocoon.xconf are still full. > > i removed all .jars, that are not required and all pielines, actions, > generators etc. from the sitemap, that i don't need. the cocoon.xconf file > is a little bit more complicated, so i just removed some database stuff, > which i don't need. > > after that, i've got my typical application structure: > > /config (sitemap.xmap, cocoon.xconf, web.xml...) > /lib (all required .jars etc.) > /src (my sources) > /web (my .html, .xml, ... files) > build.xml > > running ant install (my own build script) installs a "small" web > application (which is still about 8.5 MB big!), which creates xml via my > own generator, transforms it to svg and serializes it to png. > > it would be nice to have a tool, which checks dependencies at all levels. > like "configure_cocoon svg, html, xslt, png" which creates a webapp _only_ > with the neccesary .jars, a appropriately configured sitemap and > cocoon.xconf... ok, you have other things to do / in mind. maybe i'll find > some time to start it. > > cheers, > > moritz. > > > > but: the ant task "user-input" is still unknown! > > > > I think I fixed it in latest CVS version (2.0.2). > > Try that next time you upgrade, and let me know if there are > > still problems. > > > > > thanks a lot!! > > > > You're welcome :-) > > > > Remember users: we need your input, and telling us what is going wrong > > for you helps us *a lot*. > > We should thank *you all* for your patience and collaboration, and > > constructive criticism is very welcome indeed. > > > > Thank you :-) > > > > -- > > Nicola Ken Barozzi nicolaken@apache.org > > - verba volant, scripta manent - > > (discussions get forgotten, just code remains) > > --------------------------------------------------------------------- > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. > > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: