cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <olivier.billard.coc...@laposte.net>
Subject [CLI] Problem with XSP compilation
Date Mon, 10 Jan 2005 17:55:09 GMT
Hi Cocooners,

First, I wish you a great year and may all your projects (professionnal but also personal)
be accomplished !

Then, I would like to explain my pb.
I developped a small app that creates a cli.xconf file with all XSP of a webapp. Then when
I launch the Cocoon CLI, it stops 
without an error or a warning, and no XSP is compiled.

Here is a snippet of the xconf file, maybe something will shock you :

<cocoon verbose="true"
         follow-links="false"
         precompile-only="true"
         confirm-extensions="false">

	<context-dir>E:\Dev\Soprano\Soprano\defaultroot</context-dir>
	<config-file>E:\Dev\Soprano\Soprano\defaultroot\WEB-INF\cocoon.xconf</config-file>
	<work-dir>E:\Dev\Soprano\Soprano\defaultroot\work</work-dir>
	<dest-dir>E:\Dev\Soprano\Soprano\defaultroot\dest</dest-dir>


    <broken-links type="xml"
                  file="brokenlinks.xml"
                  generate="false"
                  extension=".error"/>


    <logging log-kit="E:\Dev\Soprano\Soprano\defaultroot\WEB-INF\logkit.xconf" logger="cli"
level="DEBUG" />
    <default-filename>index.html</default-filename>
    <accept>*/*</accept>
    <include pattern="**"/>
    <exclude pattern="docs/apidocs/**"/>

   <uri type="replace" src-prefix="" src="xsl/common/GenXML_Country.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_Currency.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedAbstract.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedAccounting.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedAgent.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedApplicant.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedAppm.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedCategory.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedCorresp.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedDrawings.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedFee.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedFtocollect.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedHistory.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedHistory2.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedInventor.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedIpc.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedLicense.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedOwner.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPaydetail.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPayment.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPctref.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPicture.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPriority.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedPublication.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedStdclass.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_LinkedUnofficialAgent.xsp"
dest="build/dest/" />
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_Location.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_Payer.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_PV.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_SPC-BasicPatent.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_Status.xsp" dest="build/dest/"
/>
   <uri type="replace" src-prefix="" src="xsl/common/GenXML_User.xsp" dest="build/dest/"
/>
</cocoon>


Some time ago, a post suggested to put the servlet.jar in the webapp/WEB-INF/lib, but no success
with this tip.
I tried with the 20050110111331 snapshot and the 2.1.6 release...
Many many thanks in advance, 'cause I'm turning mad.

--
Olivier Billard


Mime
View raw message