cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: WyonaRevisionController
Date Sat, 10 Jul 2004 01:32:25 GMT
   Date: 2004-07-09T18:32:25
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: WyonaRevisionController
   URL: http://wiki.apache.org/cocoon/WyonaRevisionController

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -16,7 +16,7 @@
     <p>
 The different check-in/check-out of a file are memorised in an xml file (RCML-file) created
by the class org.apache.lenya.xps.rc.RCML:
     </p>
-<source><![:CDATA[<?xmlversion="1.0"encoding="utf-8"?><XPSRevisionControl><CheckIn><Identity>lenya</Identity><Time>1023102128815</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102128780</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102125300</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102121346</Time></CheckOut><CheckIn><Identity>lenya</Identity><Time>1023102110381</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102110349</Time></CheckOut><CheckIn><Identity>System</Identity><Time>1023102073728</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102073695</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102012990</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102010354</Time></CheckOut><CheckIn><Identity>System</Identity><Time>1022569908000</Time></CheckIn></XPSRevisionControl>]]></source>
+<source><![CDATA[<?xmlversion="1.0"encoding="utf-8"?><XPSRevisionControl><CheckIn><Identity>lenya</Identity><Time>1023102128815</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102128780</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102125300</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102121346</Time></CheckOut><CheckIn><Identity>lenya</Identity><Time>1023102110381</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102110349</Time></CheckOut><CheckIn><Identity>System</Identity><Time>1023102073728</Time></CheckIn><CheckOut><Identity>lenya</Identity><Time>1023102073695</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102012990</Time></CheckOut><CheckOut><Identity>lenya</Identity><Time>1023102010354</Time></CheckOut><CheckIn><Identity>System</Identity><Time>1022569908000</Time></CheckIn></XPSRevisionControl>]]></source>
     <p>
 The RCML-file are located in a preconfigured directory, the RCML-directory. The RCML-file
of a specified article with "path" and "filename" is : RCML-directory+path+filename+.rcml
 
     </p>
@@ -71,10 +71,10 @@
      </p>
      <ul>
        <li>reference to the action : 
-<code><![:CDATA[<map:components>...<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"></map:action></map:actions>...</map:components>]]></code>
+<code><![CDATA[<map:components>...<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"></map:action></map:actions>...</map:components>]]></code>
        </li>
        <li>call the action for a check out in the pipeline : 
-           <code><![:CDATA[<map:matchpattern="rco/*/*/*/*/index.xml"><map:acttype="reserved-checkout"><map:parametername="filename"value="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:generatetype="serverpages"src="../../content/rc/{exception}.xsp"><map:parametername="user"value="{user}"/><map:parametername="filename"value="{filename}"/><map:parametername="date"value="{date}"/></map:generate><map:serializetype="xml"/></map:act><map:generatesrc="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:serializetype="xml"/></map:match>]]></code>
+           <code><![CDATA[<map:matchpattern="rco/*/*/*/*/index.xml"><map:acttype="reserved-checkout"><map:parametername="filename"value="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:generatetype="serverpages"src="../../content/rc/{exception}.xsp"><map:parametername="user"value="{user}"/><map:parametername="filename"value="{filename}"/><map:parametername="date"value="{date}"/></map:generate><map:serializetype="xml"/></map:act><map:generatesrc="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:serializetype="xml"/></map:match>]]></code>
        </li>                                                                      
                                                        
      </ul> 
    </section>
@@ -84,7 +84,7 @@
      </p>
      <ul>
        <li>The configuration of the RCML-directory and the BACKUP-directory is made
in the sitemap. The desired parameters are given in the definition of the reerved-checkout-action:

-           <code><![:CDATA[<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action></map:actions>]]></code>
+           <code><![CDATA[<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action></map:actions>]]></code>
 Their values are red by the !ReservedCheckoutAction, who give them to the !RevisionController.

        </li>
      </ul>                                                                        
                                                         
@@ -97,11 +97,11 @@
      </p>
      <ul>  
        <li>If the document couldn't be checked in because it was already checked out
by someone other or it was already checked in by someone other then the Check-In-Action will
send the following XML:
-           <code><![:CDATA[<rc:exception><rc:file-reserved-checkin-exception><rc:exception><xsp:expr>exception</xsp:expr></rc:exception><rc:filename><xsp:expr>filename</xsp:expr></rc:filename><rc:checkType><xsp:expr>checkType</xsp:expr></rc:checkType><rc:user><xsp:expr>user</xsp:expr></rc:user><rc:date><xsp:expr>date</xsp:expr></rc:date></rc:file-reserved-checkin-exception></rc:exception>]]></code>
+           <code><![CDATA[<rc:exception><rc:file-reserved-checkin-exception><rc:exception><xsp:expr>exception</xsp:expr></rc:exception><rc:filename><xsp:expr>filename</xsp:expr></rc:filename><rc:checkType><xsp:expr>checkType</xsp:expr></rc:checkType><rc:user><xsp:expr>user</xsp:expr></rc:user><rc:date><xsp:expr>date</xsp:expr></rc:date></rc:file-reserved-checkin-exception></rc:exception>]]></code>
        </li>
        <li>If another exception occurs (ex: the file to check in doesn't exist,...)
then the Check-In-Action will
 send the following XML:
-           <code><![:CDATA[<rc:exception><rc:exception><rc:filename><xsp:expr>filename</xsp:expr></rc:filename></rc:exception></rc:exception>]]></code>
+           <code><![CDATA[<rc:exception><rc:exception><rc:filename><xsp:expr>filename</xsp:expr></rc:filename></rc:exception></rc:exception>]]></code>
        </li>
      </ul>
    </section>
@@ -137,16 +137,16 @@
      </p>
      <ul>
        <li>reference to the action for the rollback
-<code><![:CDATA[<map:components>...<map:actions>...<map:actionname="rollback"src="org.apache.lenya.cms.cocoon.acting.RollbackAction"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action>...</map:actions>...</map:components>]]></code>
+<code><![CDATA[<map:components>...<map:actions>...<map:actionname="rollback"src="org.apache.lenya.cms.cocoon.acting.RollbackAction"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action>...</map:actions>...</map:components>]]></code>
        </li>
        <li>call the action for a rollback in the pipeline
-<code><![:CDATA[<map:matchpattern="rollback/*/*/*/*/index.xml"><map:acttype="rollback"><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:redirect-touri="{location}"session="true"/></map:act></map:match>]]></code>
+<code><![CDATA[<map:matchpattern="rollback/*/*/*/*/index.xml"><map:acttype="rollback"><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:redirect-touri="{location}"session="true"/></map:act></map:match>]]></code>
        </li>
        <li>generation of the rollback-sreen document
-<code><![:CDATA[<map:matchpattern="revision/*/*/*/*/index.xml"><map:generatetype="serverpages"src="../../content/rc/versions-screen.xsp"><map:parametername="rootDir"value="/home/edith/build/jakarta-tomcat-4.0/webapps/lenya/lenya/pubs/unipublic"/><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:parametername="rcmlDirectory"value="content/rcml"/><map:parametername="backupDirectory"value="content/rcbak"/><map:parametername="channel"value="{1}"/><map:parametername="section"value="{2}"/><map:parametername="year"value="{3}"/><map:parametername="articleId"value="{4}"/></map:generate><map:transformsrc="../../xslt/rc/rollback.xsl"/><map:serializetype="html"/></map:match>]]></code>
+<code><![CDATA[<map:matchpattern="revision/*/*/*/*/index.xml"><map:generatetype="serverpages"src="../../content/rc/versions-screen.xsp"><map:parametername="rootDir"value="/home/edith/build/jakarta-tomcat-4.0/webapps/lenya/lenya/pubs/unipublic"/><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:parametername="rcmlDirectory"value="content/rcml"/><map:parametername="backupDirectory"value="content/rcbak"/><map:parametername="channel"value="{1}"/><map:parametername="section"value="{2}"/><map:parametername="year"value="{3}"/><map:parametername="articleId"value="{4}"/></map:generate><map:transformsrc="../../xslt/rc/rollback.xsl"/><map:serializetype="html"/></map:match>]]></code>
        </li>
        <li>generation of the view document
-<code><![:CDATA[<map:matchpattern="view/*/*/*/*/index.xml"><map:generatetype="serverpages"src="../../content/rc/view.xsp"><map:parametername="rootDir"value="/home/edith/build/jakarta-tomcat-4.0/webapps/lenya/lenya/pubs/unipublic"/><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:parametername="rcmlDirectory"value="content/rcml"/><map:parametername="backupDirectory"value="content/rcbak"/></map:generate><map:transformsrc="xslt/article/authoring/toArticle.xsl"/><map:transformsrc="xslt/article/authoring/main.xsl"><map:paramete]]><![:CDATA[rname="section"value="{2}"/></map:transform><map:serializetype="html"/></map:match>]]></code></li>
+<code><![CDATA[<map:matchpattern="view/*/*/*/*/index.xml"><map:generatetype="serverpages"src="../../content/rc/view.xsp"><map:parametername="rootDir"value="/home/edith/build/jakarta-tomcat-4.0/webapps/lenya/lenya/pubs/unipublic"/><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:parametername="rcmlDirectory"value="content/rcml"/><map:parametername="backupDirectory"value="content/rcbak"/></map:generate><map:transformsrc="xslt/article/authoring/toArticle.xsl"/><map:transformsrc="xslt/article/authoring/main.xsl"><map:paramete]]><![CDATA[rname="section"value="{2}"/></map:transform><map:serializetype="html"/></map:match>]]></code></li>
      </ul>
    </section>
    <section><title>Configuration</title>

Mime
View raw message