cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moritz Petersen" <devmaill...@pnpconsult.com>
Subject RE: newbie: how to get a clean application
Date Thu, 14 Mar 2002 18:09:32 GMT
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. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message