El jue, 13-10-2005 a las 15:25 +0200, Cyriaque Dupoirieux escribió:
> Thorsten,
>
> Can you tell me what I can do to make the pelt theme work again.
>
> You wrote for Revision: *320710 :
> *
>
> HEADSUP: I did not updated the pelt theme yet! This theme will be broken till
> I changed the nugget contracts and the forrest:call-templates.
>
Grr, I just wanted to commit that, but I got:
Enviando resources/views/pelt.fv
Transmitiendo contenido de archivos .svn: Falló el commit (detalles a
continuación):
svn:
Base checksum mismatch on
'/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themes/resources/views/pelt.fv':
expected: 3b287e029c1b3ee6b224e903ecd02cba
actual: 4545758ab4f2114073859c01e0360a82
Anybody has an idea what that is? I never seen it before (I did a svn
cleanup with no suggest).
Attached the patch, can you try to apply it?
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Index: site-author/forrest.properties
===================================================================
--- site-author/forrest.properties (revisión: 320703)
+++ site-author/forrest.properties (copia de trabajo)
@@ -18,7 +18,7 @@
##############
project.name=forrest
-
+project.skin=leather-dev
#project.skin=Don't specify a skin for Forrest, we will always use the
# default one defined in main/webapp/default-forrest.properties
project.content-dir=.
@@ -32,7 +32,7 @@
# The names of plugins that are required to build the project
# comma separated list (no spaces)
# Run "forrest available-plugins" for a list of plug-ins currently available
-project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org
+project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org,org.apache.forrest.plugin.input.viewHelper.xhtml.ls,org.apache.forrest.plugin.output.viewHelper.xhtml,org.apache.forrest.plugin.internal.view
# Max memory to allocate to Java
# FIXME: See issue FOR-572
Index: whiteboard/plugins/org.apache.forrest.plugin.output.themes/resources/views/pelt.fv
===================================================================
--- whiteboard/plugins/org.apache.forrest.plugin.output.themes/resources/views/pelt.fv (revisión: 320769)
+++ whiteboard/plugins/org.apache.forrest.plugin.output.themes/resources/views/pelt.fv (copia de trabajo)
@@ -16,7 +16,9 @@
limitations under the License.
-->
-<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+<forrest:views
+ xmlns:forrest="http://apache.org/forrest/templates/1.0"
+ xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
<forrest:view type="xhtml">
<forrest:css url="default.css" media="screen" rel="alternate stylesheet" title="leather-dev"/>
<forrest:css url="leather-dev.css" media="screen" rel="alternate stylesheet" title="leather-dev"/>
@@ -27,7 +29,7 @@
<forrest:contract name="siteinfo-meta">
<forrest:properties contract="siteinfo-meta">
<forrest:property name="siteinfo-meta" nugget="get.build.info">
- <url>build-info</url>
+ <jx:import uri="cocoon://build-info"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
@@ -102,7 +104,7 @@
<forrest:contract name="nav-main">
<forrest:properties contract="nav-main">
<forrest:property name="nav-main" nugget="get.navigation">
- <url>${cocoon.parameters.getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://${cocoon.parameters.getRequest}.navigation.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
@@ -110,7 +112,7 @@
<forrest:contract name="nav-main-sub">
<forrest:properties contract="nav-main-sub">
<forrest:property name="nav-main-sub" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
@@ -134,7 +136,7 @@
<forrest:contract name="nav-section">
<forrest:properties contract="nav-section">
<forrest:property name="nav-section" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
@@ -201,7 +203,7 @@
</forrest:contract>
<forrest:contract name="nav-section-round-bottom"/>
</forrest:hook>
- <forrest:call-template name="export-link"/>
+ <jx:import uri="cocoon://prepare.tiles.export-link"/>
<forrest:hook name="content">
<!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js not compliant between Pelt and Leather-dev... -->
<!--<forrest:hook class="trail">
@@ -210,21 +212,21 @@
<forrest:contract name="content-title">
<forrest:properties contract="content-title">
<forrest:property name="content-title" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.body.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.body.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
<forrest:contract name="content-abstract">
<forrest:properties contract="content-abstract">
<forrest:property name="content-abstract" nugget="get.abstract">
- <url>#{$cocoon/parameters/getRequest}.abstract.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.abstract.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>
<forrest:contract name="content-minitoc">
<forrest:properties contract="content-minitoc">
<forrest:property name="content-minitoc-toc" nugget="get.toc">
- <url>#{$cocoon/parameters/getRequest}.toc.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml"/>
</forrest:property>
<forrest:property name="content-minitoc-conf" >
<toc max-depth="2"
@@ -235,7 +237,7 @@
<forrest:contract name="content-main">
<forrest:properties contract="content-main">
<forrest:property name="content-main" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.body.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.body.xml"/>
</forrest:property>
<forrest:property name="content-main-conf">
<headings type="underlined"/>
@@ -245,7 +247,7 @@
<forrest:contract name="content-authors">
<forrest:properties contract="content-authors">
<forrest:property name="content-authors" nugget="get.authors">
- <url>#{$cocoon/parameters/getRequest}.authors.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.authors.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>