On Mon, 15 Jul 2002, Steven Noels wrote: > Thomas Balthazar wrote: > > > and i want to save the output (the html file) instead of simply viewing > > it with my browser. > > Can you please give me some clues. > > Cocoon offers a wonderful, if less-than-optimal documented command-line > interface that crawls itself given a starting point URL. You can easily > invoke this commandline interface using Ant or from a little batch file. > If you want an example of this, check the 'build docs' target that comes > with Cocoon, or have a look at Forrest which does the same thing. > > I don't immediately recall some location documenting all of its > commandline option, as always there is the source code as a reference:
sh ./run.sh --help Actually because of the automatic JVM recognition change recently the excalibur jars are not detected correctly in that script. You'll need to have a CLASSPATH setup that contains the appropriate jar (lib/core/jvmXXX/avalon-excalibur-vmXX-20020705.jar) Giacomo > > >http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-cocoon2/src/java/org/apache/cocoon/Main.java?rev=HEAD&content-type=text/plain > > An example Ant target which invokes this behaviour, copied from Forrest > build.xml: > > <java classname="org.apache.cocoon.Main" fork="true" > dir="${dir.containing.docs}" failonerror="true"> > <arg value="-c."/> > <arg value="-d../docs"/> > <arg value="-w../work"/> > <arg value="-l../work/cocoon.log"/> > <arg value="-u${centipede.tools.cents.forrest.loglevel}"/> > <arg value="index.html"/> > <classpath> > <path refid="classpath"/> > <fileset dir="${build.dir}"> > <include name="*.jar"/> > </fileset> > <fileset dir="${tools.dir}"> > <include name="*/lib/*.jar"/> > </fileset> > <pathelement location="${tools.jar}"/> > <pathelement location="${build.context}/WEB-INF/classes"/> > </classpath> > </java> > > or check http://xml.apache.org/forrest/ > > HTH, > > </Steven> > --------------------------------------------------------------------- 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]>