Author: ltheussl
Date: Sat Sep 24 19:24:40 2005
New Revision: 291368

URL: http://svn.apache.org/viewcvs?rev=291368&view=rev
Log:
MPXDOC-174: Unclear error message when <currentVersion/> in project.xml not 
defined

Modified:
    maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
    maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl?rev=291368&r1=291367&r2=291368&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl Sat Sep 24 
19:24:40 2005
@@ -255,7 +255,9 @@
         </div>
 
         <div id="breadcrumbs">
-          <maven:property var="version" name="maven.xdoc.version" 
defaultValue="${pom.currentVersion}"/>
+          <j:if test="${!empty(pom.currentVersion)}">
+            <maven:property var="version" name="maven.xdoc.version" 
defaultValue="${pom.currentVersion}"/>
+          </j:if>
                 
           <j:set var="breadcrumbsUsed" value=""/>  
           <x:if select="$nav/body/breadcrumbs">

Modified: maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml?rev=291368&r1=291367&r2=291368&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml Sat Sep 24 19:24:40 2005
@@ -27,6 +27,7 @@
   </properties>
   <body>
     <release version="1.10" date="in SVN">
+      <action dev="ltheussl" type="fix" issue="MPXDOC-174">Unclear error 
message when <code>&lt;currentVersion/&gt;</code> in <code>project.xml</code> 
file not defined.</action>
       <action dev="ltheussl" type="add" issue="MPXDOC-141" due-to="M. Sean 
Gilligan">Perform JSL transforms on xdocs <strong>only</strong> when they have 
changed.</action>
       <action dev="ltheussl" type="add" issue="MPXDOC-169">Add xdoc tag 
library documentation to the plugin site.</action>
       <action dev="ltheussl" type="fix" issue="MPXDOC-87">Fix 
<code>xdoc:validate</code>.</action>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to