My home-rolled version (which you can easily improve) is: #!/bin/tcsh
setenv CATALINA_HOME <here> setenv CATALINA_BASE <there> cd $CATALINA_BASE foreach lib (`find $CATALINA_HOME/common/lib webapps/cocoon/WEB-INF/lib -name "*".jar`) if (! $?CLASSPATH ) then setenv CLASSPATH $lib else setenv CLASSPATH $CLASSPATH':'$lib endif end setenv CLASSPATH $CLASSPATH':'webapps/cocoon/WEB-INF/classes if ( ! $#argv ) then echo Usage: echo $0 '[http://localhost:8080]/<URI> [...]' echo You should run this from $CATALINA_BASE echo '(CLASSPATH word length problems...)' exit endif java org.apache.cocoon.Main \ --brokenLinkFile ./tmp/broken-links \ --logLevel DEBUG \ --contextDir ./webapps/cocoon \ --destDir ./tmp \ --workDir ./tmpwork \ --configFile ./webapps/cocoon/WEB-INF/cocoon.xconf \ $* |& tee ./cocoon-test.log Geoff Howard wrote: > You can use the cocoon CLI "command line interface", > by executing org.apache.cocoon.Main. It's not very > well documented, but you can glean enough to use it > from the archive, the source code and the build target > for the docs. > > HTH, > Geoff Howard > > --- Torched Salamander <[EMAIL PROTECTED]> wrote: > >>Has anyone used *just* the core components of cocoon >>in a project? >> >>I don't have a web server, I'm not running tomcat. >>Currently, I have a >>bunch of java classes that make SQL calls against a >>DB, and build up a big >>XML doc. I then have more java classes that apply >>various XSL >>transformations to create some HTML pages on disk. >>(It is for documentation >>purposes.) After finding out about cocoon and >>reading the docs, parts of it >>look perfect for me, but I haven't found any docs or >>examples of people >>using *just* the >>core "DB to output" (HTML) pipeline without using >>all the other tomcat etc >>overhead. Does anyone know of a doc, have an >>example, or have advice on >>where to look to create a minimalist non-webby >>implementation using cocoon >>tech? >> >> >> >> > > _________________________________________________________________ > >>Get a speedy connection with MSN Broadband. Join >>now! >> > > http://resourcecenter.msn.com/access/plans/freeactivation.asp > >> >> > --------------------------------------------------------------------- > >>Please check that your question has not already >>been answered in the >>FAQ before posting. >><http://xml.apache.org/cocoon/faq/index.html> >> >>To unsubscribe, e-mail: >><[EMAIL PROTECTED]> >>For additional commands, e-mail: >><[EMAIL PROTECTED]> >> > > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > -- Jerry Fowler Bioinformatics, Xeotron Corporation +1 713.842.2121 x292 8275 El Rio, Suite 130 Houston, Texas 77054 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>