On Tue, 11 Jun 2002, Renzo Kottmann wrote:

> Hello,
> > > I want to run Cocoon 2.0.2 as a commandline tool.
> > >
> > >
> > > 1. In which way do I have to write the 'URI- file'?
> >
> > One URL per line, I believe.
> >
>
> May someone give me a detailed discription of the URL or URI (I just
> don't know)? Because everytime I do this:
>
> java org.apache.cocoon.Main -w temp -f ~/cocoonstuff/uris.txt -C
> webapp/WEB-INF/cocoon.xconf -d result -b brokenlinks -r


I use the following build file:

  <java classname="org.apache.cocoon.Main" fork="true" dir="."
        failonerror="true">
   <!--<arg value="-h"/>-->
   <arg value="--contextDir"/><arg value="${offline.context}"/>
   <arg value="--destDir"/><arg value="${offline}"/>
   <arg value="--workDir"/><arg value="${offline.work}"/>
   <arg value="--brokenLinkFile"/><arg value="./brokenlinks.txt"/>
   <arg value="--configFile"/><arg
        value="${offline.context}/WEB-INF/cocoon.xconf"/>
   <arg value="--logLevel"/><arg value="DEBUG"/>
   <arg value="offline/"/>
   <classpath>
    <fileset dir="${libaries}">
     <include name="*.jar"/>
    </fileset>
    <pathelement location="${offline.context}/WEB-INF/classes"/>
   </classpath>
  </java>

> Cannot find CatalogManager.properties
>
> Is my problem related to wrong URIs/ URLs or to the  CatalogManager.properties?

Copy CatalogManager.properties into the dir WEB-INF/classes


---------------------------------------------------------------------
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]>

Reply via email to