You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/01/27 00:55:40 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon/processor/dcp DCPEngine.java DCPException.java DCPProcessor.java

greenrd     01/01/26 15:55:40

  Modified:    .        changes.xml build.xml
               xdocs    faq.xml dynamic.xml site-book.xml docs-book.xml
               src/org/apache/cocoon cocoon.properties
  Removed:     xdocs    dcpprocessor.xml
               src/org/apache/cocoon/interpreter/ecmascript
                        EcmaScriptEvaluator.java EcmaScriptInstance.java
                        EcmaScriptInterpreter.java EcmaScriptModule.java
                        initScript.es
               src/org/apache/cocoon/interpreter/java JavaInstance.java
                        JavaInterpreter.java JavaModule.java
               src/org/apache/cocoon/interpreter AbstractInterpreter.java
                        Instance.java InterpreterFactory.java
                        Interpreter.java LanguageException.java Module.java
               src/org/apache/cocoon/dcp DefaultDCPProcessor.java
                        ServletDCPProcessor.java
               src/org/apache/cocoon/processor/dcp DCPEngine.java
                        DCPException.java DCPProcessor.java
  Log:
  removed DCP
  
  Revision  Changes    Path
  1.201     +6 -2      xml-cocoon/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/changes.xml,v
  retrieving revision 1.200
  retrieving revision 1.201
  diff -u -r1.200 -r1.201
  --- changes.xml	2001/01/26 23:26:18	1.200
  +++ changes.xml	2001/01/26 23:55:33	1.201
  @@ -4,7 +4,7 @@
   
   <!--
     History of Cocoon changes   
  -  $Id: changes.xml,v 1.200 2001/01/26 23:26:18 greenrd Exp $ 
  +  $Id: changes.xml,v 1.201 2001/01/26 23:55:33 greenrd Exp $ 
   -->
   
   <changes title="History of Changes">
  @@ -18,6 +18,10 @@
     </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="RDG" type="remove">
  +   Removed DCP since it needed maintenance but no-one appears to be using it, and it is obsoleted
  +   by XSP.
  +  </action>
     <action dev="DB" type="add" due-to="Steffen Stundzig" due-to-email="steffen@smb-tec.com">
      Added SAXONTransformer
     </action>
  @@ -107,7 +111,7 @@
     <action dev="RDG" type="add" due-to="Michele Bianchi" due-to-email="mic@pow2.com">
      Added installation instructions for Inprise Application Server and Dynamo.
     </action>
  -  <action dev="RDG" type="fix">
  +  <action dev="RDG" type="remove">
      Removed obsolete reference to ProducerFromRequest in EngineWrapper.java
     </action>
     <action dev="RDG" type="fix">
  
  
  
  1.68      +2 -9      xml-cocoon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.xml,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- build.xml	2001/01/26 21:12:04	1.67
  +++ build.xml	2001/01/26 23:55:33	1.68
  @@ -252,17 +252,10 @@
                filtering="on"/>
     </target>
   
  -  <target name="prepare-ecma" depends="init" if="fesi.present">
  -    <copydir src="${src.dir}"
  -             dest="${build.src}"
  -             includes="**/ecmascript/**"
  -             filtering="on"/>
  -  </target>
  -
     <!-- =================================================================== -->
     <!-- Prepares the source code                                            -->
     <!-- =================================================================== -->
  -  <target name="prepare-src" depends="prepare, prepare-projectx, prepare-xt, prepare-saxon, prepare-ecma, prepare-ldap">
  +  <target name="prepare-src" depends="prepare, prepare-projectx, prepare-xt, prepare-saxon, prepare-ldap">
       <!-- create directories -->
       <mkdir dir="${build.src}"/>
       <mkdir dir="${build.dest}"/>
  @@ -270,7 +263,7 @@
       <!-- copy src files -->
       <copydir src="${src.dir}"
                dest="${build.src}"
  -             excludes="**/parser/Sun*, **/XT*, **/SAXON*, **/ldap/**, **/ecmascript/**"
  +             excludes="**/parser/Sun*, **/XT*, **/SAXON*, **/ldap/**"
                filtering="on"/>
     </target>
   
  
  
  
  1.48      +0 -17     xml-cocoon/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/faq.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- faq.xml	2001/01/23 19:40:54	1.47
  +++ faq.xml	2001/01/26 23:55:34	1.48
  @@ -772,23 +772,6 @@
    </faq>
   </faqsection>
   
  -<faqsection title="DCP">
  - <faq id="faq-dcpecmascript">
  -  <question>Why doesn't DCP work with EcmaScript any more?
  -   Where do I find the class <code>FESI/jslib/JSObject</code>?</question>
  -  <answer>
  -   <p>Since Cocoon now ships with all the required packages and Fesi is a
  -    very big package, we decided to make Ecmascript support for DCP optional.</p>
  -   <p>So, you should turn on the language interpretation in the cocoon
  -    configurations and place the <link href="http://home.worldcom.ch/jmlugrin/fesi/download.html">
  -     FESI</link> package in your classpath.</p>
  -   <note>the DCP processor should be considered deprecated and we do not guarantee
  -    that will be supported in future versions. We highly suggest you to
  -    transfor all of your DCP pages into XSP pages.</note>
  -  </answer>
  - </faq>
  -</faqsection>
  -
   <faqsection title="Performance">
    <faq id="faq-profiling">
     <question>Is there an easy way to see which parts of the Cocoon pipeline
  
  
  
  1.6       +1 -11     xml-cocoon/xdocs/dynamic.xml
  
  Index: dynamic.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/dynamic.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- dynamic.xml	2000/09/19 23:01:41	1.5
  +++ dynamic.xml	2001/01/26 23:55:34	1.6
  @@ -220,16 +220,6 @@
         it should really have been a Producer in the first place, instead of
         a Processor. This change has been made in Cocoon 2.
       </dd>
  -    <dt>The DCP processor (Deprecated)</dt>
  -    <dd>
  -      Evaluates XML processing
  -      instructions with multi-language (Java and EcmaScript) logic. This
  -      processor allows you to do programmatic substitution and inclusion
  -      eliminating the need for complex processing logic. See the <connect href="dcpprocessor.xml">DCP
  -      user guide</connect> for more information. Note: This is deprecated -
  -      users are advised to use the more powerful
  -      <connect href="xsp-primer.xml">XSP processor</connect> instead.
  -    </dd>
       <dt>The SQL processor (Deprecated)</dt>
       <dd>
         Evaluates simple tags
  @@ -252,4 +242,4 @@
       </dd>
     </dl>
   </s1>
  -</body></document>
  \ No newline at end of file
  +</body></document>
  
  
  
  1.27      +0 -1      xml-cocoon/xdocs/site-book.xml
  
  Index: site-book.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/site-book.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- site-book.xml	2001/01/23 19:40:50	1.26
  +++ site-book.xml	2001/01/26 23:55:34	1.27
  @@ -30,7 +30,6 @@
     <page id="fp" label="FP Taglib" source="fptaglib.xml"/>
     <page id="ldap" label="LDAP Processor" source="ldapprocessor.xml"/>
   <separator/>
  -  <page id="dcp" label="DCP Processor" source="dcpprocessor.xml"/>
     <page id="sql" label="SQL Processor" source="sqlprocessor.xml"/>
     <page id="sqltaglib" label="SQL Taglib" source="sqltaglib.xml"/>
   <separator/>
  
  
  
  1.26      +0 -1      xml-cocoon/xdocs/docs-book.xml
  
  Index: docs-book.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/docs-book.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- docs-book.xml	2001/01/23 19:40:52	1.25
  +++ docs-book.xml	2001/01/26 23:55:34	1.26
  @@ -26,7 +26,6 @@
     <page id="fp" label="FP Taglib" source="fptaglib.xml"/>
     <page id="ldap" label="LDAP Processor" source="ldapprocessor.xml"/>
   <separator/>
  -  <page id="dcp" label="DCP Processor" source="dcpprocessor.xml"/>
     <page id="sql" label="SQL Processor" source="sqlprocessor.xml"/>
     <page id="sqltaglib" label="SQL Taglib" source="sqltaglib.xml"/>
   <separator/>
  
  
  
  1.50      +0 -27     xml-cocoon/src/org/apache/cocoon/cocoon.properties
  
  Index: cocoon.properties
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/cocoon.properties,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- cocoon.properties	2001/01/26 21:16:08	1.49
  +++ cocoon.properties	2001/01/26 23:55:36	1.50
  @@ -218,17 +218,6 @@
   #processor.xsp.pool.logfile=/opt/apache/var/log/dbPool.log
   
   
  -#### !!!!WARNING!!!! ###########
  -# The DCP processor should be considered -deprecated- and we highly suggest
  -# you to convert all of your DCP stuff into XSP pages that, in the future,
  -# will totally replace DCP.
  -#
  -# Dynamic Content Processor (DCP)
  -processor.type.dcp = org.apache.cocoon.processor.dcp.DCPProcessor
  -#
  -################################
  -
  -
   ##########################################
   # XML Formatters                         #
   ##########################################
  @@ -363,22 +352,6 @@
   # here, 15M or close to it anyway
   store.heapsize = 15000000
   
  -
  -
  -##########################################
  -# Language Interpreters                  #
  -##########################################
  -
  -# These are used by the DCP Processor
  -interpreter.type.java = org.apache.cocoon.interpreter.java.JavaInterpreter
  -#interpreter.type.ecmascript = org.apache.cocoon.interpreter.ecmascript.EcmaScriptInterpreter
  -#interpreter.type.javascript = org.apache.cocoon.interpreter.ecmascript.EcmaScriptInterpreter
  -
  -# Indicates the default language if not specified in the DCP PIs
  -interpreter.default = java
  -
  -# NOTE: see the DCP user guide for instructions on using ecmascript and the
  -# packages required for this operation.
   
   
   ##########################################