You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by lt...@apache.org on 2005/09/18 07:13:27 UTC
svn commit: r289889 - in /maven/maven-1/plugins/trunk/xdoc:
plugin.properties src/plugin-resources/navigation.jelly
src/plugin-resources/templates/development-process.jelly
Author: ltheussl
Date: Sat Sep 17 22:13:24 2005
New Revision: 289889
URL: http://svn.apache.org/viewcvs?rev=289889&view=rev
Log:
MPXDOC-170: Make 'Development Process' an internal page
Added:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/development-process.jelly
Modified:
maven/maven-1/plugins/trunk/xdoc/plugin.properties
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/navigation.jelly
Modified: maven/maven-1/plugins/trunk/xdoc/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/plugin.properties?rev=289889&r1=289888&r2=289889&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/xdoc/plugin.properties Sat Sep 17 22:13:24 2005
@@ -61,6 +61,7 @@
mail-lists.xml,\
project-info.xml,\
team-list.xml,\
+ development-process.jelly,\
downloads.jelly
maven.xdoc.projectInfo = cvs-usage.xml,\
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/navigation.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/navigation.jelly?rev=289889&r1=289888&r2=289889&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/navigation.jelly (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/navigation.jelly Sat Sep 17 22:13:24 2005
@@ -87,24 +87,9 @@
</j:if>
</j:forEach>
</item>
- <j:set var="devProcess" value="false" />
- <util:available file="${maven.docs.src}/development-process.xml">
- <j:set var="devProcess" value="true" />
- </util:available>
- <j:if test="${devProcess}">
- <item key="navigation.menu.item.development_process"
- bundle="plugin-resources.templates.templates"
- name="Development Process" href="/development-process.html" />
- </j:if>
- <j:if test="${!devProcess}">
- <j:set var="devProcessUrl"
- value="${maven.xdoc.developmentProcessUrl}" />
- <j:if test="${!empty(devProcessUrl)}">
- <item key="navigation.menu.item.development_process"
- bundle="plugin-resources.templates.templates"
- name="Development Process" href="${devProcessUrl}" />
- </j:if>
- </j:if>
+ <item key="navigation.menu.item.development_process"
+ bundle="plugin-resources.templates.templates"
+ name="Development Process" href="/development-process.html" />
</menu>
</j:if>
</body>
Added: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/development-process.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/development-process.jelly?rev=289889&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/development-process.jelly (added)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/development-process.jelly Sat Sep 17 22:13:24 2005
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+ * ========================================================================
+ *
+ * Copyright 2001-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.
+ *
+ * ========================================================================
+-->
+
+<project
+ xmlns:j="jelly:core"
+ xmlns:maven="jelly:maven"
+ xmlns:util="jelly:util"
+ xmlns:x="jelly:xml">
+
+
+<document>
+ <properties>
+ <title key="navigation.menu.item.development_process"
+ bundle="plugin-resources.templates.templates">
+ <message key="navigation.menu.item.development_process"
+ bundle="plugin-resources.templates.templates" />
+ </title>
+ </properties>
+
+ <body>
+ <section key="navigation.menu.item.development_process"
+ bundle="plugin-resources.templates.templates"
+ name="Development Process">
+ <j:set
+ var="dev_link"
+ value="${context.getVariable('maven.xdoc.developmentProcessUrl')}"/>
+ <p><a href="${dev_link}">${dev_link}</a></p>
+ </section>
+ </body>
+</document>
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org