cziegeler    01/10/09 23:29:20

  Modified:    .        Tag: cocoon_20_branch build.xml
               documentation Tag: cocoon_20_branch cocoon.xconf
  Log:
  Patch: entity resolution for Documentation build
  Submitted by: David Crossley [EMAIL PROTECTED]
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.44  +11 -0     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.8.2.43
  retrieving revision 1.8.2.44
  diff -u -r1.8.2.43 -r1.8.2.44
  --- build.xml 2001/10/05 09:41:15     1.8.2.43
  +++ build.xml 2001/10/10 06:29:20     1.8.2.44
  @@ -447,6 +447,17 @@
         <fileset dir="${context.dir}/images"/>
       </copy>
   
  +    <!-- Copy entity catalog and entities -->
  +    <copy todir="${build.context}/resources/entities" filtering="on">
  +      <fileset dir="${webapp.dir}/resources/entities"/>
  +    </copy>
  +    <mkdir dir="${build.context}/WEB-INF/classes"/>
  +    <move todir="${build.context}/WEB-INF/classes">
  +      <fileset dir="${build.context}/resources/entities">
  +        <include name="CatalogManager.properties"/>
  +      </fileset>
  +    </move>
  +
     </target>
   
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +34 -0     xml-cocoon2/documentation/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/cocoon.xconf,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- cocoon.xconf      2001/10/05 09:31:09     1.1.2.1
  +++ cocoon.xconf      2001/10/10 06:29:20     1.1.2.2
  @@ -65,6 +65,40 @@
        <parameter name="threadpriority" value="5"/>
     </store-janitor>
   
  +  <!-- Entity resolution catalogs:
  +    catalog:
  +    The default catalog is distributed at /resources/entities/catalog
  +    This is the contextual pathname for Cocoon resources.
  +    You can override this path, if necessary, using the "catalog" parameter.
  +   <parameter name="catalog" value="/resources/entities/catalog"/>
  +    However, it is probably desirable to leave this default catalog config
  +    and declare your own local catalogs, which are loaded in addition to
  +    the system catalog.
  +
  +    There are various ways to do local configuration (see "Entity Catalogs"
  +    documentation). One way is via the CatalogManager.properties file.
  +    As an additional method, you can specify the "local-catalog" parameter 
here.
  +
  +    local-catalog:
  +    The full filesystem pathname to a single local catalog file.
  +   <parameter name="local-catalog" value="/usr/local/sgml/mycatalog"/>
  +
  +    verbosity:
  +    The level of messages for status/debug (messages go to standard output)
  +     0 (none) .. 3 (maximum)
  +    The following messages are provided ...
  +     0 = none
  +     1 = ? (... not sure yet)
  +     2 = 1+, Loading catalog, Resolved public, Resolved system
  +     3 = 2+, Catalog does not exist, resolvePublic, resolveSystem
  +   <parameter name="verbosity" value="2"/>
  +
  +  -->
  +  <resolver class="org.apache.cocoon.components.resolver.ResolverImpl">
  +   <parameter name="catalog" value="/resources/entities/catalog"/>
  +   <parameter name="verbosity" value="2"/>
  +  </resolver>
  +
    <xslt-processor class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" 
logger="root.xslt">
        <parameter name="use-store" value="true"/>
     </xslt-processor>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to