You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by so...@apache.org on 2007/09/19 09:10:03 UTC

svn commit: r577177 [11/12] - in /lenya/branches/revolution/1.3.x: ./ src/webapp/ src/webapp/WEB-INF/ src/webapp/lenya/pubs/default/ src/webapp/lenya/pubs/default12/ src/webapp/lenya/pubs/default12/config/ac/ src/webapp/lenya/pubs/default13/ src/webapp...

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/logs/tasks/2007-09-19-01-32-26-000.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/logs/tasks/2007-09-19-01-32-26-000.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/logs/tasks/2007-09-19-01-32-26-000.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/logs/tasks/2007-09-19-01-32-26-000.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="log.xsl"?>
+
+<build time="0 seconds">
+	<message priority="debug"><![CDATA[Detected Java version: 1.4 in: E:\j2sdk1.4.2_15\jre]]></message>
+	<message priority="debug"><![CDATA[Detected OS: Windows 2003]]></message>
+	<message priority="debug"><![CDATA[Adding reference: ant.ComponentHelper]]></message>
+	<message priority="debug"><![CDATA[Project base dir set to: F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default]]></message>
+	<message priority="debug"><![CDATA[Adding reference: ant.parsing.context]]></message>
+	<message priority="debug"><![CDATA[Adding reference: ant.targets]]></message>
+	<message priority="debug"><![CDATA[parsing buildfile F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml with URI = file:///F:/eclipse/workspace/Lenya13/build/lenya/webapp/lenya/pubs/default/config/tasks/targets.xml]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: ant.project.name -> Ant Test Project]]></message>
+	<message priority="debug"><![CDATA[Adding reference: Ant Test Project]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: ant.file.Ant Test Project -> F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml]]></message>
+	<message priority="debug"><![CDATA[Project base dir set to: F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default]]></message>
+	<message priority="debug"><![CDATA[ +Target: ]]></message>
+	<message priority="debug"><![CDATA[ +Target: test]]></message>
+	<message priority="debug"><![CDATA[ +Target: notification]]></message>
+	<message priority="debug"><![CDATA[ +Target: create]]></message>
+	<message priority="debug"><![CDATA[ +Target: create-language]]></message>
+	<message priority="debug"><![CDATA[ +Target: remove-language]]></message>
+	<message priority="debug"><![CDATA[ +Target: save-meta-data]]></message>
+	<message priority="debug"><![CDATA[ +Target: remove-asset]]></message>
+	<message priority="debug"><![CDATA[ +Target: insert-asset]]></message>
+	<message priority="debug"><![CDATA[ +Target: newcopydocumentid]]></message>
+	<message priority="debug"><![CDATA[ +Target: newnamedocumentid]]></message>
+	<message priority="debug"><![CDATA[ +Target: newarchivedocumentid]]></message>
+	<message priority="debug"><![CDATA[ +Target: firstdocumentpath]]></message>
+	<message priority="debug"><![CDATA[ +Target: secdocumentpath]]></message>
+	<message priority="debug"><![CDATA[ +Target: livedocumentpath]]></message>
+	<message priority="debug"><![CDATA[ +Target: copyDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: firstareaproperties]]></message>
+	<message priority="debug"><![CDATA[ +Target: secareaproperties]]></message>
+	<message priority="debug"><![CDATA[ +Target: move]]></message>
+	<message priority="debug"><![CDATA[ +Target: rewrite-links]]></message>
+	<message priority="debug"><![CDATA[ +Target: rename-label]]></message>
+	<message priority="debug"><![CDATA[ +Target: change-visibility]]></message>
+	<message priority="debug"><![CDATA[ +Target: moveDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: renameDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: setIdentifier]]></message>
+	<message priority="debug"><![CDATA[ +Target: archiveDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: deleteDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: restoreDocument]]></message>
+	<message priority="debug"><![CDATA[ +Target: deleteTrash]]></message>
+	<message priority="debug"><![CDATA[ +Target: movenode]]></message>
+	<message priority="debug"><![CDATA[ +Target: deletecache]]></message>
+	<message priority="debug"><![CDATA[Setting project property: text -> Hello World!]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:22: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: pub.dir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:24: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: pub.id -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:25: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: sitetree -> sitetree.xml]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:26: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: authoring.area -> authoring]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:27: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: authoring.dir -> content/authoring]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:28: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: authoring.resource.dir -> resources/authoring]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:29: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: live.dir -> content/live]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:30: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: live.resource.dir -> resources/live]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:31: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: live.area -> live]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:32: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: archive.dir -> content/archive]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:33: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: archive.area -> archive]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:34: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: archive.resource.dir -> resources/archive]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:35: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: trash.dir -> content/trash]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:36: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: trash.area -> trash]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:37: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: trash.resource.dir -> resources/trash]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:38: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: rcml.dir -> content/rcml]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:39: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: rcbak.dir -> content/rcbak]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:40: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: policies.dir -> config/ac/policies]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:41: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: wf.history.trash.dir -> content/workflow/history/trash]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:44: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: replication.dir -> content/replication/pending]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:47: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.server-port -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:48: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.context-path -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:49: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.dir -> work/export/pending]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:50: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.expression -> /lenya/default/live/]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:51: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.replacement -> /]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:52: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: export.uris -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:53: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: servlet.context -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:55: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: node.firstdocumentid -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:58: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: node.secdocumentid -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:59: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: node.newdocumentid -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:60: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: file.firstdocumentdir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:61: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: file.secdocumentdir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:62: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: firstarea -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:63: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: secarea -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:64: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: copy.userid -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:65: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: copy.ipaddress -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:66: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: node.refdocumentid -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:67: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: firstarea.dir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:70: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: secarea.dir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:71: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting project property: secarea.resource.dir -> ]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:72: " name="property" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.CopyResourcesTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype copyresources org.apache.lenya.cms.ant.CopyResourcesTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:74: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DocumentIdToFile loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype mapdocumentidtofile org.apache.lenya.cms.ant.DocumentIdToFile]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:76: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.InitWorkflowHistoryTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype init-history org.apache.lenya.cms.ant.InitWorkflowHistoryTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:106: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.ComputeCopyDocumentId loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype computesecdocumentid org.apache.lenya.cms.ant.ComputeCopyDocumentId]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:392: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.ComputeArchiveDocumentId loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype computearchivedocumentid org.apache.lenya.cms.ant.ComputeArchiveDocumentId]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:412: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DocumentIdToPath loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype mapdocumentidtopath org.apache.lenya.cms.ant.DocumentIdToPath]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:423: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.CopyContentTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype copycontent org.apache.lenya.cms.ant.CopyContentTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:449: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.InitCopyWorkflowTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype copyworkflow org.apache.lenya.cms.ant.InitCopyWorkflowTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:450: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.InitRCTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype initrc org.apache.lenya.cms.ant.InitRCTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:451: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.SetAreaProperties loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype setareaproperties org.apache.lenya.cms.ant.SetAreaProperties]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:501: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.MoveNode loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype movenode org.apache.lenya.cms.ant.MoveNode]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:516: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.MoveWorkflowTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype moveworkflow org.apache.lenya.cms.ant.MoveWorkflowTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:517: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.CopyPoliciesTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype copypolicies org.apache.lenya.cms.ant.CopyPoliciesTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:518: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DeleteSchedulerEntryTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype deleteschedulerentry org.apache.lenya.cms.ant.DeleteSchedulerEntryTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:519: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DeleteContentTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype deletecontent org.apache.lenya.cms.ant.DeleteContentTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:520: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DeleteResourcesTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype deleteresources org.apache.lenya.cms.ant.DeleteResourcesTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:521: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DeletePoliciesTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype deletepolicies org.apache.lenya.cms.ant.DeletePoliciesTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:522: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.DeleteRCTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype deleterc org.apache.lenya.cms.ant.DeleteRCTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:523: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.RenameLabelTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype renameLabel org.apache.lenya.cms.ant.RenameLabelTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:629: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Class org.apache.lenya.cms.ant.ChangeVisibilityTask loaded from parent loader (parentFirst)]]></message>
+	<message priority="debug"><![CDATA[ +Datatype changeVisibility org.apache.lenya.cms.ant.ChangeVisibilityTask]]></message>
+	<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:646: " name="taskdef" time="0 seconds"></task>
+	<message priority="debug"><![CDATA[Setting ro project property: pub.dir -> F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: pub.id -> default]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: servlet.context -> F:\eclipse\workspace\Lenya13\build\lenya\webapp]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: context.prefix -> ]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: export.context-path -> ]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: publish.sources -> doctypes/xhtml-document/index_en.xml]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: export.uris -> /default/live/doctypes/xhtml-document.html]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: files2index -> ]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: export.server-port -> 8888]]></message>
+	<message priority="debug"><![CDATA[Setting ro project property: cachedir -> work/cache]]></message>
+	<message priority="debug"><![CDATA[Build sequence for target(s) `deletecache' is [deletecache]]]></message>
+	<message priority="debug"><![CDATA[Complete build sequence is [deletecache, notification, create-language, firstareaproperties, secareaproperties, newarchivedocumentid, firstdocumentpath, secdocumentpath, setIdentifier, move, archiveDocument, newnamedocumentid, rewrite-links, renameDocument, rename-label, livedocumentpath, movenode, newcopydocumentid, create, remove-asset, deleteTrash, change-visibility, restoreDocument, deleteDocument, test, insert-asset, save-meta-data, remove-language, moveDocument, , copyDocument]]]></message>
+	<target name="deletecache" time="0 seconds">
+		<task location="F:\eclipse\workspace\Lenya13\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:735: " name="delete" time="0 seconds"></task>
+	</target>
+</build>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/menus.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/menus.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/menus.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/menus.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: menus.xmap 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+    <map:generators default="file" />
+    <map:matchers default="wildcard">
+      <map:matcher name="doctype" logger="sitemap.matcher.doctype" src="org.apache.cocoon.matching.WildcardRequestParameterMatcher">
+        <parameter-name>doctype</parameter-name>
+      </map:matcher>
+    </map:matchers>
+    <map:actions/>
+  </map:components>
+
+  <map:pipelines>
+
+    <map:pipeline>
+    	
+      <map:match pattern="live/**">
+        <map:generate type="serverpages" src="../../content/menus/live.xsp"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <!-- document type: links -->
+      <map:match type="doctype" pattern="links">
+        <map:generate type="serverpages" src="config/menus/links.xsp"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <!-- all other document types: xhtml, ... -->
+      <map:match pattern="**">
+        <map:generate type="serverpages" src="config/menus/generic.xsp"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+    </map:pipeline>
+    
+  </map:pipelines>
+</map:sitemap>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/parameter-doctype.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/parameter-doctype.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/parameter-doctype.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/parameter-doctype.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: parameter-doctype.xmap 332085 2005-11-09 17:35:30Z edith $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+    <map:generators default="file"/>
+    <map:transformers default="xslt"/>
+    <map:readers default="resource"/>
+    <map:serializers default="html"/>
+    <map:matchers default="wildcard"/>
+    <map:actions>
+      <map:action logger="sitemap.action.sourcetype" name="sourcetype" src="org.apache.forrest.sourcetype.SourceTypeAction">
+        <sourcetype name="xhtml">
+          <document-element namespace="http://www.w3.org/1999/xhtml"/>
+        </sourcetype>
+        <sourcetype name="links">
+          <document-element namespace="http://apache.org/lenya/pubs/default/1.0"/>
+        </sourcetype>
+      </map:action>
+    </map:actions>
+  </map:components>
+
+  <map:views/>
+
+  <map:resources/>
+
+  <map:pipelines>
+
+    <map:pipeline>
+      <!-- {area}/index.html -->
+      <map:match pattern="*/index*.html">
+        <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+          <map:parameter name="value" value="homepage"/>
+        </map:generate>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+
+    <map:pipeline>
+      <!-- {area}/{uri} -->
+      <map:match pattern="*/**.html">
+	<map:act type="sourcetype" src="{content-dir:{page-envelope:publication-id},{1}}/{page-envelope:document-path}">
+	  <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+	    <map:parameter name="value" value="{sourcetype}"/>
+	  </map:generate>
+	  <map:serialize type="xml"/>
+	</map:act>
+      </map:match>
+    </map:pipeline>
+    
+    <map:pipeline>
+      <!-- {area}/{uri} -->
+      <map:match pattern="*/**.xml">
+	<map:act type="sourcetype" src="{content-dir:{page-envelope:publication-id},{1}}/{2}.xml">
+	  <map:generate type="serverpages" src="../../config/parameters/default.xsp">
+	    <map:parameter name="value" value="{sourcetype}"/>
+	  </map:generate>
+	  <map:serialize type="xml"/>
+	</map:act>
+      </map:match>
+    </map:pipeline>
+
+  </map:pipelines>
+</map:sitemap>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-sitemap.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-sitemap.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-sitemap.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: publication-sitemap.xmap 191189 2005-06-17 20:12:28Z michi $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  
+  <map:components/>
+  
+  <map:views>
+    <map:view from-label="aggregation" name="aggregation">
+      <map:serialize type="xml"/>
+    </map:view>
+  </map:views>
+  
+  <map:resources>
+    <map:resource name="style-cms-page">
+      <map:transform type="i18n">      
+        <map:parameter name="locale" value="{request:locale}"/>
+      </map:transform>    
+      <map:transform src="../../xslt/util/page2xhtml.xsl">
+        <map:parameter name="contextprefix" value="{request:contextPath}"/>
+      </map:transform>
+      <map:transform src="../../xslt/util/strip_namespaces.xsl"/>
+      <map:select type="parameter">
+        <map:parameter name="statusCode" value="{statusCode}"/>
+        <map:when test="">
+          <map:serialize/>
+        </map:when>
+        <!-- FIXME workaround for http://issues.apache.org/bugzilla/show_bug.cgi?id=32336 -->
+        <map:when test="404">
+          <map:serialize status-code="404"/>
+        </map:when>
+        <map:otherwise>
+          <map:serialize status-code="{statusCode}"/>
+        </map:otherwise>
+      </map:select>
+    </map:resource>
+  </map:resources>
+
+  <map:pipelines>
+
+    <map:component-configurations>
+      <global-variables>
+        <cache-dir>work/cache</cache-dir>
+      </global-variables>
+    </map:component-configurations>
+
+    <map:pipeline>
+      <map:match pattern="**/">
+        <map:redirect-to uri="index.html"/>
+        <!--<map:redirect-to uri="{1}.html"/>-->
+      </map:match>
+    </map:pipeline>
+    
+    <map:pipeline>
+      <!-- pattern="{rendertype}/{area}/{doctype}/{document-path}" -->
+      <!-- NOTE: rendertype seems to be 'edit' or 'view' -->
+      <map:match pattern="lenya-document-*/*/*/**.xml">
+        <map:mount check-reload="true" reload-method="synchron" src="doctypes.xmap" uri-prefix="lenya-document-"/>
+      </map:match>
+    </map:pipeline>
+
+
+
+    <!-- BX Editor: RNG Schema, CSS -->
+    <map:pipeline type="noncaching">
+      
+      <map:match pattern="*/**.rng">
+        <map:generate src="config/doctypes/schemas/{2}.rng"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <map:match pattern="**/*-bxeng.css">
+        <map:read mime-type="text/css" src="resources/misc/bxeng/{2}-bxeng.css"/>
+      </map:match>
+      
+      <map:handle-errors>
+        <map:select type="exception">
+           <map:when test="resourcenotfound">
+             <map:generate src="../../content/util/empty.xml" />
+            <map:transform src="../../xslt/exception/document-does-not-exist.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+              <map:parameter name="documenturl" value="{page-envelope:document-url}"/>
+            </map:transform>
+            <map:call resource="style-cms-page">
+              <map:parameter name="statusCode" value="404"/>
+            </map:call>
+          </map:when>
+      <map:otherwise>
+        <map:generate type="notifying"/>
+        <map:transform src="../../../stylesheets/system/error2html.xslt">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+      </map:otherwise>
+        </map:select>
+        <map:serialize type="xhtml"/>
+      </map:handle-errors>    
+      </map:pipeline>
+    <!-- /BX Editor: RNG Schema -->
+
+    
+    <!-- This is the pipeline that builds the page. It aggregates all
+    the navigational elements (breadcrumb, tabs, menu) with the actual
+    content of the document. -->
+    <map:pipeline>
+      <!-- /lenyabody-{rendertype}/{publication-id}/{area}/{doctype}/{url} -->
+      <map:match pattern="lenyabody-*/*/*/*/**">
+        <map:aggregate element="cmsbody">
+          <map:part src="cocoon://navigation/{2}/{3}/breadcrumb/{5}.xml"/>
+          <map:part src="cocoon://navigation/{2}/{3}/tabs/{5}.xml"/>
+          <map:part src="cocoon://navigation/{2}/{3}/menu/{5}.xml"/>
+          <map:part src="cocoon://navigation/{2}/{3}/search/{5}.xml"/>
+          <map:part src="cocoon:/lenya-document-{1}/{3}/{4}/{page-envelope:document-path}"/>
+        </map:aggregate>
+        <map:transform src="xslt/page2xhtml-{4}.xsl">
+          <map:parameter name="root" value="{page-envelope:context-prefix}/{2}/{3}"/>
+          <map:parameter name="url" value="{5}"/>
+          <map:parameter name="document-id" value="{page-envelope:document-id}"/>
+          <map:parameter name="document-type" value="{page-envelope:document-type}"/>
+          <map:parameter name="language" value="{page-envelope:document-language}"/>
+        </map:transform>
+        <map:transform type="i18n">      
+          <map:parameter name="locale" value="{page-envelope:document-language}"/>
+        </map:transform>    
+        <map:select type="parameter">
+          <map:parameter name="parameter-selector-test" value="{1}"/>
+          <map:when test="view">
+	      <map:transform type="link-rewrite"/>
+          </map:when>
+        </map:select>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+    
+    <!-- This is the main entry point into the publication. This
+    pipeline uses the uriparametrizer to determine the doctype of this
+    request. It then aggregates the lenya menu (for the given area) and
+    the lenya body, the actual document. -->
+    <map:pipeline>
+      <map:match pattern="**.bxe.html">
+        <map:generate src="cocoon:/lenyabody-edit/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}{page-envelope:document-url}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <map:match pattern="**.html">
+        <map:act type="language-exists">
+	  <map:select type="resource-exists">
+            <map:when test="{global:cache-dir}/{../1}.htmlDISABLED">
+              <map:read src="{global:cache-dir}/{../1}.html" mime-type="text/html; charset=utf-8"/>
+            </map:when>
+            <map:otherwise>
+              <map:generate src="cocoon:/lenyabody-view/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}{page-envelope:document-url}"/>
+              <map:match pattern="authoring/**.html">
+                <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{../../1}.xml?doctype={page-envelope:document-type}"/>
+              </map:match>
+              <map:transform src="../../xslt/util/strip_namespaces.xsl"/>
+              <map:match pattern="live/**.html">
+                <map:transform src="../../xslt/authoring/edit/addSourceTags.xsl">
+                  <map:parameter name="source" value="{global:cache-dir}/live/{1}.html"/>
+                </map:transform>
+                <map:transform type="write-source">
+                  <map:parameter name="serializer" value="xhtml"/>
+                </map:transform>
+                <map:transform src="../../xslt/authoring/edit/removeSourceTags.xsl"/>
+              </map:match>
+              <map:serialize type="xhtml"/>
+            </map:otherwise>
+	  </map:select>
+        </map:act>
+
+        <!-- There is no version of the requested document-id for the
+             requested language. -->
+        <map:generate type="serverpages" src="../../content/exception/missing-language.xsp"/>
+        <map:transform src="../../xslt/exception/missing-language.xsl"/>
+        <map:call resource="style-cms-page"/>
+
+      </map:match>
+      
+      <map:handle-errors>
+        <map:select type="exception">
+          <map:when test="document-does-not-exist">
+            <map:generate src="../../content/util/empty.xml"/>
+            <map:transform src="../../xslt/exception/document-does-not-exist.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+              <map:parameter name="documenturl" value="{page-envelope:document-url}"/>
+            </map:transform>
+            <map:call resource="style-cms-page">
+              <map:parameter name="statusCode" value="404"/>
+            </map:call>
+          </map:when>
+           <map:when test="resourcenotfound">
+             <map:generate src="../../content/util/empty.xml" />
+            <map:transform src="../../xslt/exception/document-does-not-exist.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+              <map:parameter name="documenturl" value="{page-envelope:document-url}"/>
+            </map:transform>
+            <map:call resource="style-cms-page">
+              <map:parameter name="statusCode" value="404"/>
+            </map:call>
+          </map:when>
+      <map:otherwise>
+        <map:generate type="notifying"/>
+        <map:transform src="../../../stylesheets/system/error2html.xslt">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+      </map:otherwise>
+        </map:select>
+        <map:serialize type="xhtml"/>
+      </map:handle-errors>
+      
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-tests.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-tests.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-tests.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication-tests.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: publication-tests.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<lenya:publication xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.0">
+  <lenya:tests>
+    <lenya:test>Search: <a href="search-authoring/lucene">Authoring</a>, <a href="search-live/lucene">Live</a></lenya:test>
+  </lenya:tests>
+</lenya:publication>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/publication.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: publication.xml 366022 2006-01-04 23:18:03Z michi $ -->
+
+<lenya:publication xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.0">
+  <lenya:name>Default 1.3 Publication</lenya:name>
+  <lenya:pub-version>1.3.0</lenya:pub-version>
+  <lenya:lenya-version>1.3.0</lenya:lenya-version>
+  <lenya:cocoon-version>2.1.10</lenya:cocoon-version>
+  <lenya:description>This publication is a best-practice getting-started publication for Lenya 1.3.0.</lenya:description>
+  <lenya:credits>Special thanks to </lenya:credits>
+  <lenya:help></lenya:help>
+  <lenya:changelog>changes.xml</lenya:changelog>
+  <lenya:license></lenya:license>
+  <lenya:readme>
+    <ol>
+      <li><a href="live/index.html">Reader`s View</a> (Live)</li>
+      <li><a href="authoring/index.html">Editor`s View</a> (Authoring)</li>
+    </ol>
+  </lenya:readme>
+</lenya:publication>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/homepage-bxeng.css
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/homepage-bxeng.css?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/homepage-bxeng.css (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/homepage-bxeng.css Wed Sep 19 00:09:42 2007
@@ -0,0 +1,16 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+@import url(page.css);
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-bxeng.css
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-bxeng.css?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-bxeng.css (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-bxeng.css Wed Sep 19 00:09:42 2007
@@ -0,0 +1,16 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+@import url(page.css);
\ No newline at end of file

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-namespaces.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-namespaces.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-namespaces.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/misc/bxeng/xhtml-namespaces.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: xhtml-namespaces.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<namespaces>
+
+<xmlns>xhtml=http://www.w3.org/1999/xhtml</xmlns>
+<xmlns>dc=http://purl.org/dc/elements/1.1/</xmlns>
+<xmlns>lenya=http://apache.org/cocoon/lenya/page-envelope/1.0</xmlns>
+
+</namespaces>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/css/page.css
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/css/page.css?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/css/page.css (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/css/page.css Wed Sep 19 00:09:42 2007
@@ -0,0 +1,273 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* page */
+
+#page {
+    padding: 0px;
+    margin: 0px;
+}
+
+/* tabs */
+
+#tabs {
+    border-bottom: solid 5px #DDBBBB;
+    color: Maroon;
+}
+
+#tabs a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#tabs table {
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 80%;
+}
+
+#tabs td {
+    vertical-align: bottom;
+}
+
+#tabs div {
+    white-space: nowrap;
+}
+
+.tab {
+    padding: .2em .5em;
+    background-color: #FFEEEE;
+    border: solid 1px #BB9999;
+}
+
+.tab-selected {
+    padding: .2em .5em;
+    background-color: #FFCCCC;
+    border: solid 1px #BB9999;
+    border-bottom: solid 1px #DDBBBB;
+}
+
+.tab-separator {
+    border-bottom: solid 1px #BB9999;
+}
+
+.tab-pre-separator {
+    width: 25px;
+    border-bottom: solid 1px #BB9999;
+}
+
+td.tab-post-separator {
+    width: 100%;
+}
+
+/* menu */
+
+#menu {
+    font-family: Verdana, Arial, Sans-serif;
+    background-color: #DDBBBB;
+    border: solid 1px #BB9999;
+    border-left: none;
+    border-top: none;
+    color: Maroon;
+    padding: 0px 0px 5px 25px;
+}
+
+#menu a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#menu a:hover {
+    text-decoration: underline;
+}
+
+.menublock-1, .menublock-selected-1 {
+    padding: 0px;
+    border-top: solid 1px #DDBBBB;
+    background: #FFCCCC;
+}
+
+.menublock-1 a { }
+.menublock-1 a:visited { }
+
+.menublock-1 .menublock-2 { display: none; }
+
+.menublock-selected-1 .menuitem-1 { background-color: #FFEEEE; }
+.menublock-1          .menuitem-1 { }
+
+.menuitem-1 { padding: 5px 5px 5px 5px; font-size: 80%; }
+.menuitem-2 { padding: 2px 5px 2px 25px; font-size: 80%; }
+.menuitem-selected-2 { padding: 2px 5px 2px 25px; font-size: 80%; color: black; }
+.menuitem-2 a { }
+
+.menuitem-selected-1 {
+    background-color: #FFEEEE;
+    padding: 5px 5px 5px 5px;
+    font-size: 80%;
+}
+
+
+.menuitem-3 { padding: 2px 5px 2px 25px; font-size: 60%; }
+.menuitem-selected-3 { padding: 2px 5px 2px 25px; font-size: 60%; }
+
+/* breadcrumb */
+
+#breadcrumb {
+    padding: 3px 0px 3px 30px;
+    background-color: #FFEEEE;
+    border-top: solid 1px #BB9999;
+    border-bottom: solid 1px #BB9999;
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 80%;
+}
+
+#breadcrumb a {
+    text-decoration: none;
+    color: Maroon;
+}
+
+#search {
+    font-family: Verdana, Arial, Sans-serif;
+    font-size: 80%;
+    margin-right: 10px;
+    float: right;
+    position:relative;
+    top:-20px;
+}
+
+input.searchfield {
+    font-size: 80%;
+    background-color: #ffffff;
+    border: 1px solid #BB9999;
+}
+
+input.searchsubmit {
+    font-size: 80%;
+    color: Maroon;
+    background-color: #FFEEEE;
+    border: 1px solid #BB9999;
+}
+
+input.searchsubmit:hover {
+    background-color: #DDBBBB;
+}
+
+/*
+#search a {
+    text-decoration: none;
+    color: Maroon;
+}
+*/
+
+/* body */
+
+#body {
+    border: none;
+    padding: 1em;
+    margin-left: 10px;
+    font-family: Verdana, Arial, Sans-serif;
+}
+
+#main {
+/*
+    float: left;
+    width: 80%;
+*/
+}
+
+h1 { font-size: 140%; }
+h2 { font-size: 100%; }
+h3 { font-size: 80%; }
+p { font-size: 80%; }
+li { font-size: 80%; }
+
+.crossheading { font-weight: bold; font-size: 110%; }
+
+table.simple {
+    border-collapse: collapse;
+/*
+    background-color: #909090;
+    border-color: #909090;
+*/
+    width: auto;
+}
+
+td.simple {
+    font-size: 80%;
+    padding: 3px;
+    background-color: White;
+    border: solid 1px Navy;
+    vertical-align: top;
+}
+
+img.simple {
+}
+
+#publication-title {
+    font-family: verdana, arial, sans-serif;
+    font-weight: bold;
+    font-size: 20px;
+    vertical-align: bottom;
+    padding-left: 25px;
+    padding-bottom: 15px;
+    color: Maroon;
+}
+
+#project-logo {
+    padding: 10px 20px 0px 0px;
+    text-align: right;
+}
+
+.media {
+    text-align: center;
+    padding: 10px;
+}
+
+.caption {
+    padding: 5px;
+    text-align: center;
+    font-style: italic;
+    font-size: 80%;
+}
+
+.abstract {
+    font-weight: bold;
+}
+
+h1 {
+    font-size: 120%;
+    color: Maroon;
+}
+
+h2 {
+    font-size: 100%;
+    color: Maroon;
+    border-bottom: solid 1px #BB9999;
+    margin-top: 30px;
+}
+
+.asset { 
+    display: block;
+    color: #000;
+    font-size: 10px;
+    margin: 10px 10px 10px 5px;
+}
+
+#footer {
+    padding: 5px;
+	font-size: 60%;
+    text-align: right;
+    border-top: solid 1px #BB9999;
+}

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/images/project-logo.png
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/images/project-logo.png?rev=577177&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/resources/shared/images/project-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/sitemap.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/sitemap.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/sitemap.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: sitemap.xmap 65627 2004-11-14 20:57:17Z gregor $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components/>
+
+  <map:resources>
+    <map:resource name="style-cms-page">
+      <map:transform type="i18n">      
+        <map:parameter name="locale" value="{request:locale}"/>
+      </map:transform>    
+      <map:transform src="../../xslt/util/page2xhtml.xsl">
+        <map:parameter name="contextprefix" value="{request:contextPath}"/>
+      </map:transform>
+      <map:transform src="../../xslt/util/strip_namespaces.xsl"/>
+      <map:select type="parameter">
+        <map:parameter name="statusCode" value="{statusCode}"/>
+        <map:when test="">
+          <map:serialize/>
+        </map:when>
+        <map:otherwise>
+          <map:serialize status-code="{statusCode}"/>
+        </map:otherwise>
+      </map:select>
+    </map:resource>
+  </map:resources>
+
+  <map:pipelines>
+
+    <map:pipeline>
+      <map:match pattern="**">
+        <map:mount uri-prefix="" src="publication-sitemap.xmap"/>
+      </map:match>
+
+      <map:handle-errors>
+        <map:select type="exception">
+           <map:when test="resourcenotfound">
+             <map:generate src="../../content/util/empty.xml" />
+            <map:transform src="../../xslt/exception/document-does-not-exist.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+              <map:parameter name="documenturl" value="{page-envelope:document-url}"/>
+            </map:transform>
+            <map:call resource="style-cms-page">
+              <map:parameter name="statusCode" value="404"/>
+            </map:call>
+          </map:when>
+        <map:otherwise>
+        <map:generate type="notifying"/>
+        <map:transform src="../../../stylesheets/system/error2html.xslt">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+         </map:otherwise>
+        </map:select>
+        <map:serialize type="html"/>
+      </map:handle-errors>
+    </map:pipeline>
+
+  </map:pipelines>
+</map:sitemap>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/anteater/tests.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/anteater/tests.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/anteater/tests.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/anteater/tests.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: tests.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<property name="publication-id" value="default"/>
+
+<target name="pubs.default" depends="
+        pubs.default.intro,
+        pubs.default.login,
+        pubs.default.admin
+    "/>
+
+<target name="pubs.default.intro">
+  <echo>Testing the default publication</echo>
+  <echo>Testing introduction</echo>
+  <httpRequest path="/${publication-id}/introduction.html">
+    <match>
+      <responseCode value="200"/>
+      <regexp>Default Publication</regexp>
+    </match>
+  </httpRequest>
+</target>
+
+<target name="pubs.default.login">
+  <echo>Testing login</echo>
+  
+  <httpRequest
+      path="/${publication-id}/admin/index.html"
+      followRedirects="true">
+    <match>
+      <responseCode value="200"/>
+      <regexp>Username:</regexp>
+    </match>
+  </httpRequest>
+  
+  <httpRequest
+      path="/${publication-id}/admin/index.html"
+      followRedirects="true">
+    <parameter name="username" value="lenya"/>
+    <parameter name="password" value="levi"/>
+    <match>
+      <responseCode value="200"/>
+      <regexp>Welcome</regexp>
+    </match>
+  </httpRequest>
+  
+</target>
+
+<target name="pubs.default.admin" depends="pubs.default.admin.user"/>
+
+<target name="pubs.default.admin.user">
+  <echo>Testing user administration</echo>
+  <httpRequest path="/${publication-id}/admin/index.html">
+    <match>
+      <responseCode value="200"/>
+      <regexp>Default Publication</regexp>
+    </match>
+  </httpRequest>
+</target>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/webtest/tests.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/webtest/tests.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/webtest/tests.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/test/webtest/tests.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: tests.xml 413285 2006-06-10 11:10:23Z thorsten $ -->
+
+<property name="publication-id" value="default"/>
+
+<target name="pubs.default">
+
+  <testSpec name="pubs.default.intro">
+    &config;
+    <steps>
+      <invoke url="${publication-id}/introduction.html"/>
+      <verifytitle text="Lenya CMS Publication: Default Publication"/>
+    </steps>
+  </testSpec>
+  
+  <testSpec name="pubs.default.login">
+    &config;
+    <steps>
+      <invoke url="${publication-id}/introduction.html"/>
+      <clicklink label="Login as Editor"/>
+      <verifytitle text="LOGIN"/>
+      
+      <setinputfield name="username" value="lenya"/>
+      <setinputfield name="password" value="wrong"/>
+      <clickbutton label="login"/>
+      <verifytitle text="LOGIN"/>
+      <verifytext text="Authentication failed"/>
+      
+      <!--
+      <setinputfield name="username" value="lenya"/>
+      <setinputfield name="password" value="levi"/>
+      <clickbutton label="login"/>
+      <verifytitle text="Apache Lenya - default"/>
+      -->
+      
+    </steps>
+  </testSpec>
+  
+</target>
+  

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/README.txt
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/README.txt?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/README.txt (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/README.txt Wed Sep 19 00:09:42 2007
@@ -0,0 +1,37 @@
+
+  HOWTO CLONE THE DEFAULT PUBLICATION
+  ===================================
+
+  Clone Publication
+  -----------------
+
+    - Build Apache Lenya first by executing build.sh resp. build.bat
+
+    - Change to the directory src/webapp/lenya/pubs/default/tools/clone
+
+    - Copy build.properties to local.build.properties and modify the properties to your needs
+
+    - Run ant in order to start the build process to clone the default publication
+
+    - "Re-Build" Apache Lenya by executing build.sh resp. build.bat once more, whereas
+      do not forget to add the source dir of the clone publication to the local.build.properties
+      of the Apache Lenya build process
+
+    - Startup Apache Lenya according to your settings
+
+
+
+  Best Practice
+  -------------
+
+    It's very recommended to keep the modifications (e.g. XSLT and CSS) separate from the copy
+    of the default publication. Otherwise one might have trouble in upgrading to a new version
+    of Apache Lenya.
+
+
+  A Note on Development
+  ---------------------
+
+    After cloning the default publication it's sufficient to run build.sh resp. build.bat.
+    The clone process needs only to be replied if the default publication might have been updated by the 
+    Apache Lenya committers.

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/ac-xconf.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/ac-xconf.xsl?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/ac-xconf.xsl (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/ac-xconf.xsl Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
+
+  <xsl:param name="publicationName"/>
+  <xsl:param name="templatePublication"/>
+
+  <xsl:template match="parameter">
+    <xsl:apply-templates select="@value"/>
+  </xsl:template>
+
+  <xsl:template match="@value">
+     <xsl:variable name="paraValue">
+       <xsl:value-of select="substring-before(.,$templatePublication)"/>
+       <xsl:value-of select="$publicationName"/>
+       <xsl:value-of select="substring-after(.,$templatePublication)"/>
+     </xsl:variable>
+     <parameter  value="{$paraValue}" name="{../@name}"/>
+  </xsl:template>
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet> 

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.properties
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.properties?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.properties (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.properties Wed Sep 19 00:09:42 2007
@@ -0,0 +1,8 @@
+#
+clone.publication.prefix=foo-bar
+
+#
+clone.publication.name=Foo Bar
+
+#
+#clone.publication.source.dir=/home/USER/src/lenya-pubs/foo

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.xml
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.xml?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.xml (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/build.xml Wed Sep 19 00:09:42 2007
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<project name="clone" default="clone">
+
+  <target name="init">
+    <property file="local.build.properties"/>
+    <property file="build.properties"/>
+
+    <dirname property="clone.dir" file="${ant.file}"/>
+    <dirname property="tools.dir" file="${clone.dir}"/>
+    <dirname property="default.source.dir" file="${tools.dir}"/>
+    <dirname property="pubs.source.dir" file="${default.source.dir}"/>
+    <dirname property="lenya.source.dir" file="${pubs.source.dir}"/>
+    <dirname property="webapp.source.dir" file="${lenya.source.dir}"/>
+    <dirname property="source.dir" file="${webapp.source.dir}"/>
+    <dirname property="dist.dir" file="${source.dir}"/>
+
+    <property name="build.dir" value="${dist.dir}/build"/>
+    <property name="default.build.dir" value="${build.dir}/lenya/webapp/lenya/pubs/default"/>
+    <property name="clone.build.dir" value="${build.dir}/lenya/webapp/lenya/pubs/${clone.publication.prefix}"/>
+  </target>
+
+  <target name="clone" depends="init" description="Clone default publication">
+    <echo>Clone default publication</echo>
+
+    <echo>Check if build directory exists: ${build.dir}</echo>
+    <condition property="build.dir.exists">
+      <available file="${build.dir}" type="dir"/>
+    </condition>
+    <fail unless="build.dir.exists" message="INFO: Apache Lenya needs first to be built by executing build.sh resp. build.bat"/>
+
+    <echo>Copy files from ${default.build.dir} to ${clone.build.dir}</echo>
+    <copy todir="${clone.build.dir}" overwrite="true">
+      <fileset dir="${default.build.dir}"/>
+    </copy>
+
+    <echo>Replace default specifics ...</echo>
+    <xslt
+      in="${default.build.dir}/config/ac/ac.xconf"
+      out="${clone.build.dir}/config/ac/ac.xconf"
+      style="ac-xconf.xsl"
+      force="true"
+      >
+        <param name="publicationName" expression="${clone.publication.prefix}"/>
+        <param name="templatePublication" expression="default"/>
+    </xslt>
+    <xslt
+      in="${default.build.dir}/config/publication.xconf"
+      out="${clone.build.dir}/config/publication.xconf"
+      style="publication-xconf.xsl"
+      force="true"
+      >
+      <param name="publicationName" expression="${clone.publication.prefix}"/>
+      <param name="templatePublication" expression="default"/>
+    </xslt>
+    <xslt
+      in="${default.build.dir}/publication.xml"
+      out="${clone.build.dir}/publication.xml"
+      style="publication-xml.xsl"
+      force="true"
+      >
+      <param name="publicationName" expression="${clone.publication.name}"/>
+    </xslt>
+
+    <echo>Touch source of clone publication ${clone.publication.source.dir}</echo>
+    <touch>
+      <fileset dir="${clone.publication.source.dir}">
+        <patternset>
+          <include name="**"/>
+        </patternset>
+      </fileset>
+    </touch>
+  </target>
+
+</project>

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xconf.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xconf.xsl?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xconf.xsl (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xconf.xsl Wed Sep 19 00:09:42 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
+
+  <xsl:param name="publicationName"/>
+  <xsl:param name="templatePublication"/>
+
+  <xsl:template match="proxy">
+    <xsl:apply-templates select="@url"/>
+  </xsl:template>
+
+  <xsl:template match="@url">
+     <xsl:variable name="urlValue">
+       <xsl:value-of select="substring-before(.,$templatePublication)"/>
+       <xsl:value-of select="$publicationName"/>
+       <xsl:value-of select="substring-after(.,$templatePublication)"/>
+     </xsl:variable>
+     <proxy area="{../@area}" ssl="{../@ssl}" url="{$urlValue}"/>
+  </xsl:template>
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet> 

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xml.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xml.xsl?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xml.xsl (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/tools/clone/publication-xml.xsl Wed Sep 19 00:09:42 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.0"> 
+
+<xsl:param name="publicationName"/>
+
+<xsl:template match="lenya:name">
+  <lenya:name><xsl:value-of select="$publicationName"/></lenya:name>
+</xsl:template>
+
+<xsl:template match="lenya:description">
+  <lenya:description>This publication is a clone of the default publication. No further description of this publication yet.</lenya:description>
+</xsl:template>
+
+<xsl:template match="@*|node()">
+  <xsl:copy>
+    <xsl:apply-templates select="@*|node()"/>
+  </xsl:copy>
+</xsl:template>
+   
+</xsl:stylesheet> 

Added: lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/usecase-bxeng.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/usecase-bxeng.xmap?rev=577177&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/usecase-bxeng.xmap (added)
+++ lenya/branches/revolution/1.3.x/src/webapp/lenya/pubs/default13/usecase-bxeng.xmap Wed Sep 19 00:09:42 2007
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: usecase-bxeng.xmap 332085 2005-11-09 17:35:30Z edith $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  
+	<!-- =========================== Components ================================ -->
+	<map:components>
+		<map:generators default="file"/>
+		<map:transformers default="xalan"/>
+		<map:readers default="resource"/>
+		<map:serializers default="xhtml"/>
+		<map:matchers default="wildcard"/>
+        <map:actions/>
+		<map:selectors/>
+	</map:components>
+	
+  <!-- =========================== Resources ================================ -->
+  <map:resources>
+        
+    <map:resource name="style-cms-page">
+      <map:transform type="i18n">
+        <map:parameter name="locale" value="{request:locale}"/>
+      </map:transform>
+      <map:transform src="../../xslt/util/page2xhtml.xsl">
+        <map:parameter name="contextprefix" value="{request:contextPath}"/>
+      </map:transform>
+      <map:transform src="../../xslt/util/strip_namespaces.xsl"/>
+      <map:select type="parameter">
+        <map:parameter name="statusCode" value="{statusCode}"/>
+        <map:when test="">
+          <map:serialize type="html" />
+        </map:when>
+        <map:otherwise>
+          <map:serialize type="html" status-code="{statusCode}"/>
+        </map:otherwise>
+      </map:select>
+    </map:resource>
+    
+    <map:resource name="cms-screen-xml">
+          <map:generate src="../../content/{serverpage}" type="serverpages"/>
+          <map:transform src="../../xslt/{stylesheet}">
+            <map:parameter name="use-request-parameters" value="true"/>
+            <map:parameter name="contextprefix" value="{request:contextPath}"/>
+          </map:transform>      
+    </map:resource>
+    
+    <map:resource name="cms-screen">
+      <map:call resource="cms-screen-xml">
+        <map:parameter name="serverpage" value="{serverpage}"/>
+        <map:parameter name="stylesheet" value="{stylesheet}"/>
+      </map:call>
+      <map:call resource="style-cms-page"/>
+    </map:resource>
+    
+    
+  </map:resources>
+  <!-- =========================== Flow ===================================== -->
+  <map:flow language="javascript">
+    <map:script src="../../usecases/edit-document.js"/>
+  </map:flow>
+	<!-- =========================== Pipelines ================================ -->
+	
+	<map:pipelines>
+	  
+    <map:pipeline type="noncaching">
+      
+      <map:match pattern="request2document">
+        <map:generate type="stream"/>
+        <map:transform src="../../xslt/bxeng/change-object-path-back.xsl">
+          <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+        </map:transform>
+        <map:serialize type="xml"/>
+      </map:match>
+      
+      <map:match type="usecase" pattern="bxeng">
+        
+      <map:match type="step" pattern="open">
+       <!-- Check for BXENG -->
+       <map:act type="resource-exists" src="../../resources/bxeng/bxeLoader.js">
+        <map:act type="reserved-checkout">
+          <map:generate type="serverpages" src="../../content/rc/{exception}.xsp">
+            <map:parameter name="user" value="{user}"/>
+            <map:parameter name="filename" value="{filename}"/>
+            <map:parameter name="date" value="{date}"/>
+            <map:parameter name="message" value="{message}"/>
+          </map:generate>
+          <map:transform src="../../xslt/rc/rco-exception.xsl"/>
+          <map:call resource="style-cms-page"/>
+        </map:act>
+        <map:aggregate element="bxeng">
+          <map:part src="../../resources/misc/bxeng/index.xhtml"/>
+          <map:part src="../../resources/misc/bxeng/content-namespaces.xml"/>
+        </map:aggregate>
+        <map:transform src="../../xslt/bxeng/aggregate.xsl"/>
+        <map:transform src="../../xslt/bxeng/index-xhtml.xsl">
+          <map:parameter name="configfile" value="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=config"/>
+          <map:parameter name="context" value="{request:contextPath}"/>
+        </map:transform>
+        <map:transform src="../../xslt/util/strip_namespaces.xsl"/>
+        <map:serialize type="xhtml"/>
+        </map:act>
+        <map:generate src="../../resources/misc/bxeng/download.xhtml"/>
+        <map:call resource="style-cms-page"/>
+        <map:serialize type="xhtml"/>
+      </map:match>
+      
+      <map:match pattern="image-upload-show" type="step">
+        <map:call resource="cms-screen">
+           <map:parameter name="serverpage" value="info/assets.xsp"/>
+           <map:parameter name="stylesheet" value="bxeng/image.xsl"/>
+        </map:call>
+      </map:match>
+
+      <map:match pattern="asset-upload-show" type="step">
+        <map:call resource="cms-screen">
+           <map:parameter name="serverpage" value="info/assets.xsp"/>
+           <map:parameter name="stylesheet" value="bxeng/asset.xsl"/>
+        </map:call>
+      </map:match> 
+      
+          <map:match type="step" pattern="asset-upload">
+            <map:act type="upload">
+              <map:redirect-to uri="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=asset-upload-show"/>
+            </map:act>
+              <map:generate src="../../content/info/assets.xsp" type="serverpages"/>
+               <map:transform src="../../xslt/bxeng/asset.xsl">
+                 <map:parameter name="use-request-parameters" value="true"/>
+                 <map:parameter name="error" value="true"/>
+               </map:transform>
+               <map:call resource="style-cms-page"/>
+          </map:match>
+
+          <map:match type="step" pattern="image-upload">
+            <map:act type="upload">
+              <map:redirect-to uri="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=image-upload-show"/>
+            </map:act>
+              <map:generate src="../../content/info/assets.xsp" type="serverpages"/>
+              <map:transform src="../../xslt/bxeng/image.xsl">
+                <map:parameter name="use-request-parameters" value="true"/>
+                <map:parameter name="error" value="true"/>
+              </map:transform>
+              <map:call resource="style-cms-page"/>
+	       </map:match>
+
+      <map:match pattern="link-show" type="step">
+            <!-- just a dummy xsp since we call the info area directly -->
+           <map:generate type="serverpages" src="../../content/info/assets.xsp"/>
+          <map:transform src="../../xslt/bxeng/link.xsl" label="content">
+            <map:parameter name="infoarea" value="true"/>
+            <map:parameter name="contextprefix" value="{request:contextPath}"/>
+            <map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
+            <map:parameter name="area" value="authoring"/>
+            <map:parameter name="tab" value="en"/>
+            <map:parameter name="chosenlanguage" value="{page-envelope:document-language}"/>
+            <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+            <map:parameter name="documenturl" value="/{page-envelope:document-url}"/>
+            <map:parameter name="documentextension" value="{page-envelope:document-extension}"/>
+            <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
+            <map:parameter name="languages" value="{page-envelope:publication-languages-csv}"/>
+          </map:transform>
+        <map:call resource="style-cms-page"/>
+      </map:match>
+      
+      <map:match pattern="**/*.html">
+        <!-- configuration -->
+        <map:match type="step" pattern="config">
+          <map:generate src="../../resources/misc/bxeng/inc/config.xml"/>
+          <map:transform src="../../xslt/bxeng/config-xml.xsl">
+            <map:parameter name="BX_xmlfile" value="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=xml"/>
+            <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
+            
+  <!--      Instead of an xsl we use the xhtml file to provide the basic layout
+            <map:parameter name="BX_xslfile" value="{2}.xsl"/>
+  -->
+            <map:parameter name="BX_xhtmlfile" value="{../2}.bxe.html"/>
+            <map:parameter name="BX_validationfile" value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}.rng"/>
+            <map:parameter name="css" value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}/css/{page-envelope:document-type}-bxeng.css"/>
+  <!--       The document is checked in when we exit from bx (in case of save&exit and in case of exit), so we use the usecase
+             for the checkin while we redirect to the document
+  -->
+            <map:parameter name="BX_exitdestination" value="{request:requestURI}?lenya.usecase=checkin&amp;lenya.step=checkin&amp;backup=true"/>
+            <map:parameter name="contextmenufile" value="../../resources/misc/bxeng/contextmenu.xml"/>
+          </map:transform>
+          <map:transform type="cinclude"/>
+          <map:serialize type="xml"/>
+        </map:match>
+      </map:match>
+      
+      <map:match pattern="*/**.html">
+      
+      <!-- /GET and PUT -->
+      <map:match type="step" pattern="xml">      
+        <map:select type="request-method">
+          
+          <map:when test="PUT">
+            <!-- before we save, we must be sure that the document is well checked out
+            -->           
+	        <map:act type="reserved-checkout-test">
+    	      <map:generate type="serverpages" src="../../content/rc/{exception}.xsp">
+        	    <map:parameter name="user" value="{user}"/>
+            	<map:parameter name="filename" value="{filename}"/>
+	            <map:parameter name="date" value="{date}"/>
+    	      </map:generate>
+        	  <map:transform src="../../xslt/rc/rco-exception.xsl"/>
+	          <map:call resource="style-cms-page"/>
+        	</map:act>
+          
+          <map:call function="editDocument">
+            <map:parameter name="sourceUri" value="cocoon:/request2document"/>
+            <map:parameter name="noCheckin" value="true"/>
+          </map:call>
+          </map:when>
+
+          <map:otherwise> <!-- GET -->
+            <map:generate src="{content-dir:{page-envelope:publication-id},{page-envelope:area}}/{page-envelope:document-path}"/>
+            <map:transform src="../../xslt/bxeng/change-object-path.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+            </map:transform>
+            <map:serialize type="xml"/>
+          </map:otherwise>
+          
+        </map:select>
+      </map:match>
+      <!-- /GET and PUT -->
+      
+      </map:match> <!-- uri pattern -->
+            
+      </map:match> <!-- usecase -->
+
+      <map:handle-errors>
+        <map:select type="exception">
+           <map:when test="resourcenotfound">
+             <map:generate src="../../content/util/empty.xml" />
+            <map:transform src="../../xslt/exception/document-does-not-exist.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+              <map:parameter name="documenturl" value="{page-envelope:document-url}"/>
+            </map:transform>
+            <map:call resource="style-cms-page">
+              <map:parameter name="statusCode" value="404"/>
+            </map:call>
+          </map:when>
+        <map:otherwise>
+        <map:generate type="notifying"/>
+        <map:transform src="../../../stylesheets/system/error2html.xslt">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+         </map:otherwise>
+        </map:select>
+        <map:serialize type="xhtml"/>
+      </map:handle-errors>
+      
+    </map:pipeline>
+    
+	</map:pipelines>
+	
+</map:sitemap>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org